From: Philippe Antoine Date: Mon, 26 Dec 2022 15:57:19 +0000 (+0100) Subject: test: remove one duplicate line X-Git-Tag: suricata-7.0.0-rc1~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dfaf2802f8632db611b940bb1009ef0f66f22d7;p=thirdparty%2Fsuricata.git test: remove one duplicate line --- 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);