Skip to content

Commit

Permalink
Fix for C89 (#8965)
Browse files Browse the repository at this point in the history
  • Loading branch information
phannebohm committed May 16, 2022
1 parent dfa5c6b commit e4b7953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/SimulationRuntime/c/simulation/solver/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ double findRoot(DATA* data, threadData_t* threadData, LIST* eventList, double ti

LIST_NODE* it;
fortran_integer i=0;
static LIST tmpEventList = (LIST){NULL, NULL, sizeof(long), 0};
LIST tmpEventList = (LIST){NULL, NULL, sizeof(long), 0};

/* static work arrays */
static double *states_left = NULL;
Expand Down

0 comments on commit e4b7953

Please sign in to comment.