From: zhengfish Date: Fri, 6 Mar 2020 00:58:15 +0000 (+0800) Subject: Remove unused global variable: ones. X-Git-Url: http://www.git.stargrave.org/?p=dht-bootstrap.git;a=commitdiff_plain;h=aa5c27373a92e24d9f41f2cc4568a72f298ca12e Remove unused global variable: ones. --- diff --git a/dht-bootstrap.c b/dht-bootstrap.c index 66a217e..9a43670 100644 --- a/dht-bootstrap.c +++ b/dht-bootstrap.c @@ -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 };