Skip to content

Commit

Permalink
removed double fclose for #1860
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathadon committed Apr 2, 2024
1 parent 0ecdc2e commit ac9c6e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions IBPSA/Resources/C-Sources/WeeklySchedule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ac9c6e2

Please sign in to comment.