From: Victor Julien Date: Thu, 18 Aug 2016 07:39:48 +0000 (+0200) Subject: detect: remove unused debug code X-Git-Tag: suricata-3.1.2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e2ea4e63ba4eb773fb94f16c13df69d2b8b983e;p=thirdparty%2Fsuricata.git detect: remove unused debug code --- diff --git a/src/detect-parse.c b/src/detect-parse.c index 4adef8f84e..01bf5fef30 100644 --- a/src/detect-parse.c +++ b/src/detect-parse.c @@ -76,9 +76,6 @@ static pcre *option_pcre = NULL; static pcre_extra *config_pcre_extra = NULL; static pcre_extra *option_pcre_extra = NULL; -static uint32_t dbg_srcportany_cnt = 0; -static uint32_t dbg_dstportany_cnt = 0; - /** * \brief We use this as data to the hash table DetectEngineCtx->dup_sig_hash_table. */ @@ -308,16 +305,6 @@ int DetectEngineContentModifierBufferSetup(DetectEngineCtx *de_ctx, Signature *s return ret; } -uint32_t DbgGetSrcPortAnyCnt(void) -{ - return dbg_srcportany_cnt; -} - -uint32_t DbgGetDstPortAnyCnt(void) -{ - return dbg_dstportany_cnt; -} - SigMatch *SigMatchAlloc(void) { SigMatch *sm = SCMalloc(sizeof(SigMatch));