Brace macro parameter

This commit is contained in:
Dmitry-Me 2017-08-29 21:23:45 +03:00
parent 6f0d5aaee3
commit 9d41b272a1
1 changed files with 1 additions and 1 deletions

View File

@ -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)