mirror of
https://github.com/curl/curl.git
synced 2026-07-29 17:33:14 +03:00
tool_getparam: remove Redundant Condition
Pointed out by CodeSonar Closes #15698
This commit is contained in:
parent
a4458c7ee3
commit
8d926c653b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue