Skip to content

Commit 80b91b3

Browse files
committed
- fix Windows build, ansi c
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19802 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent c83f3d0 commit 80b91b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SimulationRuntime/c/util/omc_error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ extern void throwStreamPrintWithEquationIndexes(threadData_t *threadData, const
154154
static void OMC_INLINE assertStreamPrint(threadData_t *threadData, int cond, const char *format, ...) __attribute__ ((format (printf, 3, 4)));
155155
static void OMC_INLINE assertStreamPrint(threadData_t *threadData, int cond, const char *format, ...)
156156
{
157-
if (cond) return;
158157
va_list args;
158+
if (cond) return;
159159
va_start(args, format);
160160
va_throwStreamPrint(threadData,format,args);
161161
va_end(args);

0 commit comments

Comments
 (0)