Skip to content

Commit

Permalink
checkunusedfunctions.cpp: fixed premium-misra-cpp-2008-16-0-6 selfc…
Browse files Browse the repository at this point in the history
…heck warning
  • Loading branch information
firewave committed Feb 12, 2024
1 parent dc8127f commit b347ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/checkunusedfunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b347ca1

Please sign in to comment.