From ac9c6e2302c831c4ebcbaf6997e2fc7424d49bc8 Mon Sep 17 00:00:00 2001 From: Filip Jorissen Date: Tue, 2 Apr 2024 08:04:44 +0200 Subject: [PATCH] removed double fclose for #1860 --- IBPSA/Resources/C-Sources/WeeklySchedule.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/IBPSA/Resources/C-Sources/WeeklySchedule.c b/IBPSA/Resources/C-Sources/WeeklySchedule.c index 8cc9dd3ec4..15df770303 100644 --- a/IBPSA/Resources/C-Sources/WeeklySchedule.c +++ b/IBPSA/Resources/C-Sources/WeeklySchedule.c @@ -413,10 +413,6 @@ void* weeklyScheduleInit(const int tableOnFile, const char* name, const double t } } - if (tableOnFile){ - fclose(scheduleID->fp); - } - if (n_newLines==0){ weeklyScheduleFreeInit(scheduleID); weeklyScheduleFree(scheduleID);