]> Sergey Matveev's repositories - dht-bootstrap.git/commitdiff
Remove unused global variable: ones.
authorzhengfish <zhengfish@gmail.com>
Fri, 6 Mar 2020 00:58:15 +0000 (08:58 +0800)
committerJuliusz Chroboczek <jch@irif.fr>
Sun, 27 Dec 2020 22:44:45 +0000 (23:44 +0100)
dht-bootstrap.c

index 66a217ef68be929b2b74a5d61830dba02c7ef1aa..9a436705dfb85535ebc97fc5eba08197b374dd7a 100644 (file)
@@ -114,11 +114,6 @@ static int parse_message(const unsigned char *buf, int buflen,
                          int *want_return);
 
 static const unsigned char zeroes[20] = {0};
-static const unsigned char ones[20] = {
-    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
-    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
-    0xFF, 0xFF, 0xFF, 0xFF
-};
 static const unsigned char v4prefix[16] = {
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xFF, 0xFF, 0, 0, 0, 0
 };