Small code simplification in open_files() function.
This commit is contained in:
parent
0043b907a7
commit
0e75e05fda
@ -253,8 +253,6 @@ static int open_files(FILE **const file_in, FILE **const file_out, const CHR *co
|
||||
if (!(*file_out = FOPEN(output_path, T("wb"))))
|
||||
{
|
||||
FPRINTF(stderr, T("Error: Failed to open output file \"%") T(PRISTR) T("\" for writing!\n\n"), output_path);
|
||||
fclose(*file_in);
|
||||
*file_in = NULL;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user