From 1c67623e37dada045e9b5d1f5e19b414cc79c3e3 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 10 Mar 2009 17:50:01 +0000 Subject: [build] Enable building with the Intel C compiler (icc) --- src/net/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/udp.c') diff --git a/src/net/udp.c b/src/net/udp.c index c3a1eba3e..1b83518ef 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -238,7 +238,7 @@ static int udp_tx ( struct udp_connection *udp, struct io_buffer *iobuf, * @ret udp UDP connection, or NULL */ static struct udp_connection * udp_demux ( struct sockaddr_tcpip *local ) { - static const struct sockaddr_tcpip empty_sockaddr; + static const struct sockaddr_tcpip empty_sockaddr = { .pad = { 0, } }; struct udp_connection *udp; list_for_each_entry ( udp, &udp_conns, list ) { -- cgit v1.2.3-55-g7522