mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
Removed dead code, identified by coverity.com.
This commit is contained in:
parent
5779283a52
commit
8a6eeb82c5
@ -1818,9 +1818,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
||||
return PARAM_OPTION_UNKNOWN;
|
||||
}
|
||||
}
|
||||
if(hit < 0) {
|
||||
return PARAM_OPTION_UNKNOWN;
|
||||
}
|
||||
|
||||
if(aliases[hit].extraparam) {
|
||||
/* this option requires an extra parameter */
|
||||
if(!longopt && parse[1]) {
|
||||
|
Loading…
Reference in New Issue
Block a user