Skip to content

Commit

Permalink
- Removed some warnings about duplicate variable info being generated…
Browse files Browse the repository at this point in the history
… by not generating these anymore.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7816 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jan 28, 2011
1 parent 3f0f246 commit 16a6f00
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
14 changes: 0 additions & 14 deletions Compiler/susan_codegen/SimCode/SimCodeC.tpl
Expand Up @@ -230,8 +230,6 @@ case MODELINFO(varInfo=VARINFO(__), vars=SIMVARS(__)) then
<%globalDataVarInfoArray("state_names", vars.stateVars)%>
<%globalDataVarInfoArray("derivative_names", vars.derivativeVars)%>
<%globalDataVarInfoArray("algvars_names", vars.algVars)%>
<%globalDataVarInfoArray("input_names", vars.inputVars)%>
<%globalDataVarInfoArray("output_names", vars.outputVars)%>
<%globalDataVarInfoArray("param_names", vars.paramVars)%>
<%globalDataVarInfoArray("int_alg_names", vars.intAlgVars)%>
<%globalDataVarInfoArray("int_param_names", vars.intParamVars)%>
Expand Down Expand Up @@ -761,18 +759,6 @@ template functionInitializeDataStruc()
returnData->bool_param_names = 0;
}

if(flags & INPUTNAMES) {
returnData->inputNames = input_names;
} else {
returnData->inputNames = 0;
}

if(flags & OUTPUTNAMES) {
returnData->outputNames = output_names;
} else {
returnData->outputNames = 0;
}

if(flags & JACOBIANNAMES) {
returnData->jacobian_names = jacobian_names;
} else {
Expand Down
2 changes: 0 additions & 2 deletions c_runtime/simulation_runtime.h
Expand Up @@ -121,8 +121,6 @@ typedef enum {
STATESDERIVATIVESNAMES = 1<<13,
ALGEBRAICSNAMES = 1<<14,
PARAMETERSNAMES = 1<<15,
INPUTNAMES = 1<<16,
OUTPUTNAMES = 1<<17,
FUNCTIONNAMES = 1<<18,
EQUATIONINFO = 1<<19,
JACOBIANNAMES = 1<<20,
Expand Down

0 comments on commit 16a6f00

Please sign in to comment.