From: Victor Julien Date: Wed, 17 Apr 2024 22:28:50 +0000 (+0200) Subject: detect/iponly: fix compile warning X-Git-Tag: suricata-6.0.19~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a10b5d2b85dc5c21df71692b0bf572a583dc9c;p=thirdparty%2Fsuricata.git detect/iponly: fix compile warning When --enable-unittests w/o --enable-debug is used. --- diff --git a/src/detect-engine-iponly.c b/src/detect-engine-iponly.c index 740e00d031..33ad3f3032 100644 --- a/src/detect-engine-iponly.c +++ b/src/detect-engine-iponly.c @@ -506,6 +506,7 @@ static void IPOnlyCIDRListPrint(IPOnlyCIDRItem *tmphead) (tmphead->negated) ? "yes":"no", inet_ntoa(*(struct in_addr*)&tmphead->ip[0]), tmphead->signum); + (void)i; tmphead = tmphead->next; } }