From 49a9cf3d63bb1a5ef1ab770d3f84ae9a3f5346e3 Mon Sep 17 00:00:00 2001 From: Gregor Weiss Date: Thu, 17 Oct 2024 14:33:35 +0200 Subject: [PATCH] don't close on null file pointer --- src/interfaces/reader/eas3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/interfaces/reader/eas3.c b/src/interfaces/reader/eas3.c index 80c8882..28cf397 100644 --- a/src/interfaces/reader/eas3.c +++ b/src/interfaces/reader/eas3.c @@ -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; }