From 2213ff933f47ee52e3737ff927580596e7adf92b Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 26 Nov 2009 17:28:45 +0100 Subject: [PATCH] Compile fix. --- src/detect-content.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/detect-content.c b/src/detect-content.c index ea45095cae..89d35dd278 100644 --- a/src/detect-content.c +++ b/src/detect-content.c @@ -1048,6 +1048,9 @@ int DetectContentChunksGetTotalLength(SigMatch *sm) */ void DetectContentPrintAll(SigMatch *sm) { +#ifdef DEBUG + int i = 0; + if (SCLogDebugEnabled()) { if (sm == NULL) return; @@ -1063,6 +1066,7 @@ void DetectContentPrintAll(SigMatch *sm) } } } +#endif /* DEBUG */ } /**