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/cmExecuteProcessCommand.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/cmExecuteProcessCommand.cxx')
-rw-r--r-- | Source/cmExecuteProcessCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExecuteProcessCommand.cxx b/Source/cmExecuteProcessCommand.cxx index e29047f..8c67cdb 100644 --- a/Source/cmExecuteProcessCommand.cxx +++ b/Source/cmExecuteProcessCommand.cxx @@ -244,7 +244,7 @@ bool cmExecuteProcessCommand::InitialPass(std::vector<std::string> const& args, 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))) { // Put the output in the right place. if (p == cmsysProcess_Pipe_STDOUT && !output_quiet) { if (output_variable.empty()) { |