]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: remove unused debug code
authorVictor Julien <victor@inliniac.net>
Thu, 18 Aug 2016 07:39:48 +0000 (09:39 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 29 Aug 2016 09:46:58 +0000 (11:46 +0200)
src/detect-parse.c

index 4adef8f84ea4429b905f326045907ded3a9332af..01bf5fef30eb3402783a553a35f89bb4e1ae68c6 100644 (file)
@@ -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));