Skip to content

Commit

Permalink
- minor changes
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16640 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Jul 19, 2013
1 parent ef9e327 commit ea350d3
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions SimulationRuntime/c/simulation/simulation_runtime.cpp
Expand Up @@ -773,24 +773,26 @@ int initRuntimeAndSimulation(int argc, char**argv, DATA *data)

/* detailed information for some flags */
INDENT(LOG_STDOUT);
if(FLAG_LV == i)
switch(i)
{
case FLAG_LV:
for(j=firstOMCErrorStream; j<LOG_MAX; ++j)
INFO2(LOG_STDOUT, "%-18s [%s]", LOG_STREAM_NAME[j], LOG_STREAM_DESC[j]);
}
else if(FLAG_IIM == i)
{
break;
case FLAG_IIM:
for(j=1; j<IIM_MAX; ++j)
INFO2(LOG_STDOUT, "%-18s [%s]", initMethodStr[j], initMethodDescStr[j]);
}
else if(FLAG_IOM == i)
{
break;
case FLAG_IOM:
for(j=1; j<IOM_MAX; ++j)
INFO2(LOG_STDOUT, "%-18s [%s]", optiMethodStr[j], optiMethodDescStr[j]);
}
else if(FLAG_S == i)
{
break;
case FLAG_S:
/* TODO */
break;
}
RELEASE(LOG_STDOUT);

Expand Down

0 comments on commit ea350d3

Please sign in to comment.