diff --git a/ipc/MutexHelper.h b/ipc/MutexHelper.h index bc5730850..bc744d3f9 100644 --- a/ipc/MutexHelper.h +++ b/ipc/MutexHelper.h @@ -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(status); #endif /* FSFW_VERBOSE_LEVEL >= 1 */ }