From: Nathan S. Evans Date: Wed, 24 Feb 2010 13:23:46 +0000 (+0000) Subject: unused variable warning X-Git-Tag: initial-import-from-subversion-38251~22613 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ec8b3142b2304fef64c7d76952a63a60471fb461;p=oweals%2Fgnunet.git unused variable warning --- diff --git a/src/transport/plugin_transport_udp_nat.c b/src/transport/plugin_transport_udp_nat.c index 4247ea686..a4e6d1fb0 100644 --- a/src/transport/plugin_transport_udp_nat.c +++ b/src/transport/plugin_transport_udp_nat.c @@ -1480,8 +1480,9 @@ udp_nat_check_address (void *cls, void *addr, size_t addrlen) char buf[sizeof (struct sockaddr_in6)]; struct sockaddr_in *v4; +#if IPV6 struct sockaddr_in6 *v6; - +#endif #if IPV6 if ((addrlen != sizeof (struct sockaddr_in)) && (addrlen != sizeof (struct sockaddr_in6)))