1
0
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:
Daniel Stenberg 2008-10-19 20:28:41 +00:00
parent 5779283a52
commit 8a6eeb82c5

View File

@ -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]) {