From: W.C.A. Wijngaards Date: Tue, 25 Aug 2020 11:16:46 +0000 (+0200) Subject: Review fix: remove unused variables. X-Git-Tag: release-1.13.0rc1~5^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a83fc176cc0de6fc10ca16f2b54a3680eb1def44;p=thirdparty%2Funbound.git Review fix: remove unused variables. --- diff --git a/services/outside_network.c b/services/outside_network.c index 0b0b928b0..6f5ebd2f1 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -155,16 +155,14 @@ reuse_cmp_addrportssl(const void* key1, const void* key2) int reuse_cmp(const void* key1, const void* key2) { - struct reuse_tcp* r1 = (struct reuse_tcp*)key1; - struct reuse_tcp* r2 = (struct reuse_tcp*)key2; int r; r = reuse_cmp_addrportssl(key1, key2); if(r != 0) return r; /* compare ptr value */ - if(r1 < r2) return -1; - if(r1 > r2) return 1; + if(key1 < key2) return -1; + if(key1 > key2) return 1; return 0; }