diff --git a/lib/checkunusedfunctions.cpp b/lib/checkunusedfunctions.cpp index a56a448f82c..3c707f4dcb7 100644 --- a/lib/checkunusedfunctions.cpp +++ b/lib/checkunusedfunctions.cpp @@ -377,7 +377,7 @@ void CheckUnusedFunctions::parseTokens(const Tokenizer &tokenizer, const Setting #define logChecker(id) \ do { \ - const ErrorMessage errmsg({}, nullptr, Severity::internal, "logChecker", id, CWE(0U), Certainty::normal); \ + const ErrorMessage errmsg({}, nullptr, Severity::internal, "logChecker", (id), CWE(0U), Certainty::normal); \ errorLogger.reportErr(errmsg); \ } while (false)