Skip to content

Commit

Permalink
[OMSI] Fixed wrong header guard and warnings in OMSIBase and OMSIC
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - #154
  - #3067

Belonging to [master]:
  - #154
  - OpenModelica/OMCompiler#3067
  • Loading branch information
AnHeuermann authored and OpenModelica-Hudson committed Apr 29, 2019
1 parent 84b5f7e commit 10a0a9d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Expand Up @@ -28,8 +28,8 @@
*
*/

#ifndef OMSU_INPUT_MODEL_VARIABLES_H
#define OMSU_INPUT_MODEL_VARIABLES_H
#ifndef OMSU_GETTERS_AND_SETTERS_H
#define OMSU_GETTERS_AND_SETTERS_H

#include <omsi.h>
#include <omsi_callbacks.h>
Expand Down
Expand Up @@ -43,6 +43,7 @@

#include <omsic.h>
#include <omsi_input_model_variables.h>
#include <omsi_getters_and_setters.h>

#include <omsu_common.h>
#include <omsu_helper.h>
Expand Down
2 changes: 2 additions & 0 deletions SimulationRuntime/OMSIC/src/omsu/omsu_helper.c
Expand Up @@ -513,6 +513,8 @@ omsi_real division_error_time(const char* msg,
*/
omsi_real homotopy(omsi_real actual, omsi_real siple) {

UNUSED(siple);

/* call an assert after logging */
return actual;
}
Expand Down

0 comments on commit 10a0a9d

Please sign in to comment.