mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
operate: fix clang-analyzer warnings for never read variables
Two separate "Value stored to 'XXX' is never read" warnings
This commit is contained in:
parent
77c66e0247
commit
3b9103e4a6
@ -1654,11 +1654,8 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])
|
||||
Curl_safefree(outfile);
|
||||
Curl_safefree(this_url);
|
||||
|
||||
if(infdopen) {
|
||||
if(infdopen)
|
||||
close(infd);
|
||||
infdopen = FALSE;
|
||||
infd = STDIN_FILENO;
|
||||
}
|
||||
|
||||
if(metalink) {
|
||||
/* Should exit if error is fatal. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user