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:
parent
55678c6951
commit
8128db9ec1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user