From cb514e7493b8d6b0a56f93c41974d4245b9a529d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 4 Mar 2021 20:43:08 +0100 Subject: [PATCH] small tweak to avoid warning --- ipc/MutexHelper.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipc/MutexHelper.h b/ipc/MutexHelper.h index bc573085..bc744d3f 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 */ }