small tweak to avoid warning

This commit is contained in:
Robin Müller 2021-03-04 20:43:08 +01:00
parent bc7d956899
commit cb514e7493
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ public:
sif::printError("MutexHelper: Lock of Mutex failed with code %d\n", status);
#endif /* FSFW_CPP_OSTREAM_ENABLED == 1 */
}
#else
/* To avoid unused variable warning */
static_cast<void>(status);
#endif /* FSFW_VERBOSE_LEVEL >= 1 */
}