Skip to content

Commit

Permalink
- va_list is implemented in so many ways in different compiler, skip …
Browse files Browse the repository at this point in the history
…initialization as it doesn't work on all platforms.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19998 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Apr 4, 2014
1 parent c59b99d commit 46dbc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/simulation_runtime.cpp
Expand Up @@ -995,7 +995,7 @@ static void omc_terminate_simulation(FILE_INFO info, const char *msg, ...)

static void omc_throw_simulation(threadData_t* threadData)
{
va_list ap = {0};
va_list ap;
setTermMsg("Assertion triggered by external C function", ap);
set_struct(FILE_INFO, TermInfo, omc_dummyFileInfo);
threadData = threadData ? threadData : (threadData_t*)pthread_getspecific(mmc_thread_data_key);
Expand Down

0 comments on commit 46dbc85

Please sign in to comment.