tool_getparam: remove Redundant Condition
Pointed out by CodeSonar Closes #15698
This commit is contained in:
parent
a4458c7ee3
commit
8d926c653b
@ -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…
Reference in New Issue
Block a user