diff --git a/cli/cppcheckexecutor.cpp b/cli/cppcheckexecutor.cpp index 5be9f3208..db41eaaa2 100644 --- a/cli/cppcheckexecutor.cpp +++ b/cli/cppcheckexecutor.cpp @@ -963,7 +963,7 @@ static inline const std::string ansiToOEM(const std::string &msg, bool doConvert } #else // no performance regression on non-windows systems -#define ansiToOEM(msg, doConvert) msg +#define ansiToOEM(msg, doConvert) (msg) #endif void CppCheckExecutor::reportErr(const std::string &errmsg)