don't close on null file pointer

This commit is contained in:
Gregor Weiss 2024-10-17 14:33:35 +02:00
parent e101bd2404
commit 49a9cf3d63
Signed by: Gregor Weiss
GPG key ID: 61E170A8BBFE5756

View file

@ -1327,7 +1327,6 @@ read_eas3(char *const filename)
fprintf(stderr, "o##########################################################o\n"\
"| ERROR: Could not open or read %-25s|\n"\
"o##########################################################o\n", filename);
fclose(fp);
return NULL;
}