summaryrefslogtreecommitdiffstats
path: root/Source/cmProcessTools.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/cmProcessTools.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/cmProcessTools.cxx')
-rw-r--r--Source/cmProcessTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmProcessTools.cxx b/Source/cmProcessTools.cxx
index facde5d..a2bc16f 100644
--- a/Source/cmProcessTools.cxx
+++ b/Source/cmProcessTools.cxx
@@ -16,7 +16,7 @@ void cmProcessTools::RunProcess(struct cmsysProcess_s* cp, OutputParser* out,
cmProcessOutput processOutput(encoding);
std::string strdata;
while ((out || err) &&
- (p = cmsysProcess_WaitForData(cp, &data, &length, nullptr), p)) {
+ (p = cmsysProcess_WaitForData(cp, &data, &length, nullptr))) {
if (out && p == cmsysProcess_Pipe_STDOUT) {
processOutput.DecodeText(data, length, strdata, 1);
if (!out->Process(strdata.c_str(), int(strdata.size()))) {