Skip to content

Commit 9d41b27

Browse files
committed
Brace macro parameter
1 parent 6f0d5aa commit 9d41b27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/cppcheckexecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ static inline const std::string ansiToOEM(const std::string &msg, bool doConvert
963963
}
964964
#else
965965
// no performance regression on non-windows systems
966-
#define ansiToOEM(msg, doConvert) msg
966+
#define ansiToOEM(msg, doConvert) (msg)
967967
#endif
968968

969969
void CppCheckExecutor::reportErr(const std::string &errmsg)

0 commit comments

Comments
 (0)