]> granicus.if.org Git - curl/commitdiff
sws.c: Fixed compilation warning when IPv6 is disabled
authorSteve Holme <steve_holme@hotmail.com>
Wed, 3 Dec 2014 00:00:40 +0000 (00:00 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 3 Dec 2014 00:01:49 +0000 (00:01 +0000)
sws.c:69: warning: comma at end of enumerator list

tests/server/sws.c

index e69d5aac0ed0c27e67127ee8cedaed660525a7b5..400d5d98d9fb9dfaad1af03dc04c596fa1135204 100644 (file)
@@ -66,9 +66,9 @@
 #endif
 
 static enum {
-  socket_domain_inet = AF_INET,
+  socket_domain_inet = AF_INET
 #ifdef ENABLE_IPV6
-  socket_domain_inet6 = AF_INET6
+  socket_domain_inet6 = AF_INET6
 #endif
 } socket_domain = AF_INET;
 static bool use_gopher = FALSE;