From: Juliusz Chroboczek Date: Sun, 20 Nov 2011 22:48:38 +0000 (+0100) Subject: Avoid warning. X-Git-Tag: dht-bootstrap-0.2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=477d64ec55da93815e518e2148c315b76dde55f8;p=dht-bootstrap.git Avoid warning. --- diff --git a/dht-bootstrap.c b/dht-bootstrap.c index 1c5d375..f6084df 100644 --- a/dht-bootstrap.c +++ b/dht-bootstrap.c @@ -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) {