From dd232fcd6e1485d1686783cec6f875cf9b59c290 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 10 Nov 2009 10:49:46 +0100 Subject: [PATCH] Fix debug compilation --- src/detect-content.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/detect-content.c b/src/detect-content.c index 58344ee4cf..3e384ebc95 100644 --- a/src/detect-content.c +++ b/src/detect-content.c @@ -1029,6 +1029,8 @@ int DetectContentChunksGetTotalLength(SigMatch *sm) void DetectContentPrintAll(SigMatch *sm) { if (SCLogDebugEnabled()) { + int i = 0; + if (sm == NULL) return;