diff options
author | Brad King <brad.king@kitware.com> | 2019-01-22 14:38:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-22 14:38:30 (GMT) |
commit | 4b017d579d00f1d4d032eda7e179f57bdd1da080 (patch) | |
tree | 4095545154c8cf2454319028c3763b480ac39e4a /Source/cmExecProgramCommand.cxx | |
parent | cb7fbf1dbbcc88fc7701250db5c3ccdf0ab7396e (diff) | |
parent | 5ff7fb592e5b9c5a6a0f05055a2bde5623e8cc54 (diff) | |
download | CMake-4b017d579d00f1d4d032eda7e179f57bdd1da080.zip CMake-4b017d579d00f1d4d032eda7e179f57bdd1da080.tar.gz CMake-4b017d579d00f1d4d032eda7e179f57bdd1da080.tar.bz2 |
Merge topic 'Wcomma'
5ff7fb592e Fixed all but one clang -Wcomma warning
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2828
Diffstat (limited to 'Source/cmExecProgramCommand.cxx')
-rw-r--r-- | Source/cmExecProgramCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExecProgramCommand.cxx b/Source/cmExecProgramCommand.cxx index 49d9841..75a7786 100644 --- a/Source/cmExecProgramCommand.cxx +++ b/Source/cmExecProgramCommand.cxx @@ -217,7 +217,7 @@ bool cmExecProgramCommand::RunCommand(const char* command, std::string& output, int p; cmProcessOutput processOutput(encoding); std::string strdata; - while ((p = cmsysProcess_WaitForData(cp, &data, &length, nullptr), p)) { + while ((p = cmsysProcess_WaitForData(cp, &data, &length, nullptr))) { if (p == cmsysProcess_Pipe_STDOUT || p == cmsysProcess_Pipe_STDERR) { if (verbose) { processOutput.DecodeText(data, length, strdata); |