mirror of
https://github.com/curl/curl.git
synced 2026-07-23 05:17:21 +03:00
tool_getparam: repair the error message for unknown flag
Follow-up to 9e5669f388
Detected by Coverity CID 1464582 ("Logically dead code")
Closes #5577
This commit is contained in:
parent
185890d5d7
commit
ada7bd1191
1 changed files with 2 additions and 1 deletions
|
|
@ -2303,7 +2303,8 @@ ParameterError parse_args(struct GlobalConfig *global, int argc,
|
|||
config);
|
||||
}
|
||||
|
||||
curlx_unicodefree(orig_opt);
|
||||
if(!result)
|
||||
curlx_unicodefree(orig_opt);
|
||||
}
|
||||
|
||||
if(result && result != PARAM_HELP_REQUESTED &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue