Skip to content

Commit

Permalink
Fix compiler warning in omc_error (#11643)
Browse files Browse the repository at this point in the history
- Add missing unused attribute to `info` parameter.
  • Loading branch information
perost committed Nov 28, 2023
1 parent 865f7cc commit db1e9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/SimulationRuntime/c/util/omc_error.h
Expand Up @@ -251,7 +251,7 @@ void debugStreamPrintWithEquationIndexes(int stream, FILE_INFO info, int indentN
static OMC_INLINE void debugStreamPrint(int stream __attribute__((unused)), int indentNext __attribute__((unused)), const char *format __attribute__((unused)), ...) __attribute__ ((format (printf, 3, 4)));
static OMC_INLINE void debugStreamPrint(int stream __attribute__((unused)), int indentNext __attribute__((unused)), const char *format __attribute__((unused)), ...) {/* Do nothing */}
static OMC_INLINE void debugStreamPrintWithEquationIndexes(int stream __attribute__((unused)), FILE_INFO info, int indentNext __attribute__((unused)), const int *indexes __attribute__((unused)), const char *format __attribute__((unused)), ...) __attribute__ ((format (printf, 5, 6)));
static OMC_INLINE void debugStreamPrintWithEquationIndexes(int stream __attribute__((unused)), FILE_INFO info, int indentNext __attribute__((unused)), const int *indexes __attribute__((unused)), const char *format __attribute__((unused)), ...) {/* Do nothing */}
static OMC_INLINE void debugStreamPrintWithEquationIndexes(int stream __attribute__((unused)), FILE_INFO info __attribute__((unused)), int indentNext __attribute__((unused)), const int *indexes __attribute__((unused)), const char *format __attribute__((unused)), ...) {/* Do nothing */}
#endif

#ifdef __cplusplus
Expand Down

0 comments on commit db1e9a8

Please sign in to comment.