Changed a suspiciously looking but correct code gesture. Coverity CID 28831.

This commit is contained in:
Thomas Schmitt 2015-11-07 11:11:07 +00:00
parent 637a93f387
commit 6c760c1d39
2 changed files with 2 additions and 2 deletions

View File

@ -1337,9 +1337,9 @@ int Xorriso_option_not_list(struct XorrisO *xorriso, char *adr, int flag)
} }
ret= 1; ret= 1;
ex:; ex:;
Xorriso_read_lines(xorriso, fp, &linecount, &argc, &argv, 2);
if(fp != NULL && fp != stdin) if(fp != NULL && fp != stdin)
fclose(fp); fclose(fp);
Xorriso_read_lines(xorriso, fp, &linecount, &argc, &argv, 2);
if(ret<=0) { if(ret<=0) {
sprintf(xorriso->info_text, "Aborted reading of file "); sprintf(xorriso->info_text, "Aborted reading of file ");
Text_shellsafe(adr, xorriso->info_text, 1); Text_shellsafe(adr, xorriso->info_text, 1);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.07.110421" #define Xorriso_timestamP "2015.11.07.111034"