From b6a10b5d2b85dc5c21df71692b0bf572a583dc9c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 18 Apr 2024 00:28:50 +0200 Subject: [PATCH] detect/iponly: fix compile warning When --enable-unittests w/o --enable-debug is used. --- src/detect-engine-iponly.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.47.2