diff --git a/src/detect-engine-port.c b/src/detect-engine-port.c index 736af14242..9d7170e029 100644 --- a/src/detect-engine-port.c +++ b/src/detect-engine-port.c @@ -2530,7 +2530,6 @@ static int PortParseTest14Spaces(void) const char *str = " 45"; DetectPort *dp = PortParse(str); FAIL_IF_NULL(dp); - FAIL_IF_NULL(dp); FAIL_IF(dp->port != 45); FAIL_IF(dp->port2 != 45); DetectPortFree(NULL, dp); @@ -2543,7 +2542,6 @@ static int PortParseTestMoreThan14Spaces(void) const char *str = " 45"; DetectPort *dp = PortParse(str); FAIL_IF_NULL(dp); - FAIL_IF_NULL(dp); FAIL_IF(dp->port != 45); FAIL_IF(dp->port2 != 45); DetectPortFree(NULL, dp);