From: Daniel Stenberg Date: Fri, 6 Dec 2024 06:48:11 +0000 (+0100) Subject: tool_getparam: remove Redundant Condition X-Git-Tag: curl-8_11_1~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d926c653b029ee401d8c5fc5668f2b9ad7f0f72;p=thirdparty%2Fcurl.git tool_getparam: remove Redundant Condition Pointed out by CodeSonar Closes #15698 --- diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 35704575c9..d352c80a52 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -1064,7 +1064,7 @@ static ParameterError parse_localport(struct OperationConfig *config, if(*p) { pp = p; /* check for ' - [end]' */ - if(*pp && ISSPACE(*pp)) + if(ISSPACE(*pp)) pp++; if(*pp != '-') return PARAM_BAD_USE;