mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
tool_getparam: repair the error message for unknown flag
Follow-up to 9e5669f3880674 Detected by Coverity CID 1464582 ("Logically dead code") Closes #5577
This commit is contained in:
parent
185890d5d7
commit
ada7bd1191
@ -2303,7 +2303,8 @@ ParameterError parse_args(struct GlobalConfig *global, int argc,
|
|||||||
config);
|
config);
|
||||||
}
|
}
|
||||||
|
|
||||||
curlx_unicodefree(orig_opt);
|
if(!result)
|
||||||
|
curlx_unicodefree(orig_opt);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(result && result != PARAM_HELP_REQUESTED &&
|
if(result && result != PARAM_HELP_REQUESTED &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user