Skip to content

Commit

Permalink
Avoid some warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 authored and OpenModelica-Hudson committed Apr 6, 2016
1 parent 17bf815 commit 86230f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/meta/meta_modelica_builtin.h
Expand Up @@ -180,7 +180,7 @@ static inline modelica_metatype boxptr_arrayUpdate(threadData_t *threadData,mode

extern modelica_metatype boxptr_arrayUpdate(threadData_t *threadData,modelica_metatype, modelica_metatype, modelica_metatype);

static inline modelica_metatype boxptr_arrayUpdateNoBoundsChecking(threadData_t *threadData,modelica_metatype arr, modelica_metatype i, modelica_metatype val)
static inline modelica_metatype boxptr_arrayUpdateNoBoundsChecking(threadData_t *threadData __attribute__((unused)), modelica_metatype arr, modelica_metatype i, modelica_metatype val)
{
int ix = mmc_unbox_integer(i);
MMC_STRUCTDATA(arr)[ix-1] = val;
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/util/omc_msvc.h
Expand Up @@ -119,7 +119,7 @@ unsigned int alarm (unsigned int seconds);
#endif

#if (defined(__MINGW32__) || defined(_MSC_VER)) && !defined(OMC_MINIMAL_RUNTIME)
static int RTLD_LAZY=0;
static int RTLD_LAZY=0 __attribute__((unused));
char* mkdtemp(char *tpl);
void* omc_dlopen(const char *filename, int flag);
char* omc_dlerror();
Expand Down

0 comments on commit 86230f2

Please sign in to comment.