From 9d41b272a1d41eec1348c61d8f81dba8adcd9534 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Tue, 29 Aug 2017 21:23:45 +0300 Subject: [PATCH] Brace macro parameter --- cli/cppcheckexecutor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)