summaryrefslogtreecommitdiffstats
path: root/Source/cmExecuteProcessCommand.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2019-01-12 01:48:19 (GMT)
committerSean McBride <sean@rogue-research.com>2019-01-12 01:48:19 (GMT)
commit5ff7fb592e5b9c5a6a0f05055a2bde5623e8cc54 (patch)
tree688fa13ec49befb499cbc95ad78f85d701aebdee /Source/cmExecuteProcessCommand.cxx
parent5a283b79e5fe1739142cc513a9a701855849b2f8 (diff)
downloadCMake-5ff7fb592e5b9c5a6a0f05055a2bde5623e8cc54.zip
CMake-5ff7fb592e5b9c5a6a0f05055a2bde5623e8cc54.tar.gz
CMake-5ff7fb592e5b9c5a6a0f05055a2bde5623e8cc54.tar.bz2
Fixed all but one clang -Wcomma warning
Diffstat (limited to 'Source/cmExecuteProcessCommand.cxx')
-rw-r--r--Source/cmExecuteProcessCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExecuteProcessCommand.cxx b/Source/cmExecuteProcessCommand.cxx
index 679a648..b549776 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()) {