Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 10a0a9d

Browse files
Andreas HeuermannOpenModelica-Hudson
authored andcommitted
[OMSI] Fixed wrong header guard and warnings in OMSIBase and OMSIC
Belonging to [master]: - OpenModelica/OpenModelica#154 - #3067 Belonging to [master]: - OpenModelica/OpenModelica#154 - #3067
1 parent 84b5f7e commit 10a0a9d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

SimulationRuntime/OMSI/base/include/omsi_getters_and_setters.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
*
2929
*/
3030

31-
#ifndef OMSU_INPUT_MODEL_VARIABLES_H
32-
#define OMSU_INPUT_MODEL_VARIABLES_H
31+
#ifndef OMSU_GETTERS_AND_SETTERS_H
32+
#define OMSU_GETTERS_AND_SETTERS_H
3333

3434
#include <omsi.h>
3535
#include <omsi_callbacks.h>

SimulationRuntime/OMSIC/include/omsu/omsu_getters_and_setters.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
#include <omsic.h>
4545
#include <omsi_input_model_variables.h>
46+
#include <omsi_getters_and_setters.h>
4647

4748
#include <omsu_common.h>
4849
#include <omsu_helper.h>

SimulationRuntime/OMSIC/src/omsu/omsu_helper.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,8 @@ omsi_real division_error_time(const char* msg,
513513
*/
514514
omsi_real homotopy(omsi_real actual, omsi_real siple) {
515515

516+
UNUSED(siple);
517+
516518
/* call an assert after logging */
517519
return actual;
518520
}

0 commit comments

Comments
 (0)