tool_getparam: remove Redundant Condition

Pointed out by CodeSonar

Closes #15698
This commit is contained in:
Daniel Stenberg 2024-12-06 07:48:11 +01:00
parent a4458c7ee3
commit 8d926c653b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;