From ec8b3142b2304fef64c7d76952a63a60471fb461 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Wed, 24 Feb 2010 13:23:46 +0000 Subject: [PATCH] unused variable warning --- src/transport/plugin_transport_udp_nat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))) -- 2.25.1