]> Sergey Matveev's repositories - dht-bootstrap.git/commitdiff
Avoid warning.
authorJuliusz Chroboczek <jch@pps.jussieu.fr>
Sun, 20 Nov 2011 22:48:38 +0000 (23:48 +0100)
committerJuliusz Chroboczek <jch@pps.jussieu.fr>
Sun, 20 Nov 2011 22:48:38 +0000 (23:48 +0100)
dht-bootstrap.c

index 1c5d37513b877902db006519df86b5a858b21b44..f6084df414b81b3a06d81333f22ce5ffbc5e17c8 100644 (file)
@@ -645,14 +645,6 @@ main(int argc, char **argv)
                 }
             }
 
                 }
             }
 
-            if(want > 0) {
-                want4 = (want & WANT4);
-                want6 = (want & WANT6);
-            } else {
-                want4 = source->sa_family == AF_INET;
-                want6 = source->sa_family == AF_INET6;
-            }
-
             switch(message) {
             case REPLY:
                 if(tid_len != 4) {
             switch(message) {
             case REPLY:
                 if(tid_len != 4) {