Commit 8a6eeb82 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Removed dead code, identified by coverity.com.

parent 5779283a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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]) {