Skip to content

Commit f211acd

Browse files
committed
Add back const
1 parent b8bd740 commit f211acd

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
@@ -737,7 +737,7 @@ int CppCheckExecutor::executeCommand(std::string exe, std::vector<std::string> a
737737
// the W* macros cast to int* on macOS
738738
int res = pclose(p);
739739
#else
740-
int res = pclose(p);
740+
const int res = pclose(p);
741741
#endif
742742
if (res == -1) { // error occurred
743743
// TODO: how to provide to caller?

0 commit comments

Comments
 (0)