diff options
author | Sean McBride <sean@rogue-research.com> | 2019-01-12 01:48:19 (GMT) |
---|---|---|
committer | Sean McBride <sean@rogue-research.com> | 2019-01-12 01:48:19 (GMT) |
commit | 5ff7fb592e5b9c5a6a0f05055a2bde5623e8cc54 (patch) | |
tree | 688fa13ec49befb499cbc95ad78f85d701aebdee /Source/cmExecProgramCommand.cxx | |
parent | 5a283b79e5fe1739142cc513a9a701855849b2f8 (diff) | |
download | CMake-5ff7fb592e5b9c5a6a0f05055a2bde5623e8cc54.zip CMake-5ff7fb592e5b9c5a6a0f05055a2bde5623e8cc54.tar.gz CMake-5ff7fb592e5b9c5a6a0f05055a2bde5623e8cc54.tar.bz2 |
Fixed all but one clang -Wcomma warning
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 ea4cd40..e7f8a01 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); |