detect/iponly: fix minor warning with unittest but no debug

pull/9200/head
Victor Julien 2 years ago
parent 7f822ba053
commit a1401ab81b

@ -496,6 +496,7 @@ static void IPOnlyCIDRListSetSigNum(IPOnlyCIDRItem *tmphead, SigIntId i)
*/ */
static void IPOnlyCIDRListPrint(IPOnlyCIDRItem *tmphead) static void IPOnlyCIDRListPrint(IPOnlyCIDRItem *tmphead)
{ {
#ifdef DEBUG
uint32_t i = 0; uint32_t i = 0;
while (tmphead != NULL) { while (tmphead != NULL) {
@ -507,6 +508,7 @@ static void IPOnlyCIDRListPrint(IPOnlyCIDRItem *tmphead)
tmphead->signum); tmphead->signum);
tmphead = tmphead->next; tmphead = tmphead->next;
} }
#endif
} }
#endif #endif

Loading…
Cancel
Save