operate: fix clang-analyzer warnings for never read variables
Two separate "Value stored to 'XXX' is never read" warnings
This commit is contained in:
Родитель
77c66e0247
Коммит
3b9103e4a6
|
@ -1654,11 +1654,8 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])
|
||||||
Curl_safefree(outfile);
|
Curl_safefree(outfile);
|
||||||
Curl_safefree(this_url);
|
Curl_safefree(this_url);
|
||||||
|
|
||||||
if(infdopen) {
|
if(infdopen)
|
||||||
close(infd);
|
close(infd);
|
||||||
infdopen = FALSE;
|
|
||||||
infd = STDIN_FILENO;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(metalink) {
|
if(metalink) {
|
||||||
/* Should exit if error is fatal. */
|
/* Should exit if error is fatal. */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче