1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

getparameter: remove dead code

Coverity CID 1061126. 'parse' will always be non-NULL here.
This commit is contained in:
Daniel Stenberg 2014-10-04 16:14:39 +02:00
parent 55678c6951
commit 8128db9ec1

View File

@ -437,12 +437,7 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
/* we can loop here if we have multiple single-letters */
if(!longopt) {
if(NULL != parse) {
letter = (char)*parse;
}
else {
letter = '\0';
}
letter = (char)*parse;
subletter='\0';
}
else {