From 16d2bf6b8e64709356343642f289614ac61bfd55 Mon Sep 17 00:00:00 2001 From: William Metcalf Date: Thu, 19 Nov 2009 14:57:01 -0600 Subject: [PATCH] unit test showing flags:0 alerting when it shouldn't --- src/detect-flags.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/detect-flags.c b/src/detect-flags.c index 4d5e6a37e7..8338467788 100644 --- a/src/detect-flags.c +++ b/src/detect-flags.c @@ -867,7 +867,6 @@ error: * \retval 1 on succces * \retval 0 on failure */ - static int FlagsTestParse12 (void) { Packet p; ThreadVars tv; @@ -892,7 +891,6 @@ static int FlagsTestParse12 (void) { goto error; sm = SigMatchAlloc(); - if (sm == NULL) goto error;