summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-10 15:55:49 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-12 19:04:16 (GMT)
commitb932cd429800bb24d71e1d60f954fe4df2d1eb5c (patch)
tree84d42b0bd94f5dc5085ea76fb13ec1b8a4dd0f1c /Source/CTest
parent88da3d68c2d205688762fd6a7e84fd730533e844 (diff)
downloadCMake-b932cd429800bb24d71e1d60f954fe4df2d1eb5c.zip
CMake-b932cd429800bb24d71e1d60f954fe4df2d1eb5c.tar.gz
CMake-b932cd429800bb24d71e1d60f954fe4df2d1eb5c.tar.bz2
clang-tidy: apply misc-redundant-expression fixes
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index fbc94cc..5c45fe5 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -119,10 +119,9 @@ void cmCTestRunTest::CompressOutput()
strm.next_out = out;
ret = deflate(&strm, Z_FINISH);
- if (ret == Z_STREAM_ERROR || ret != Z_STREAM_END) {
+ if (ret != Z_STREAM_END) {
cmCTestLog(this->CTest, ERROR_MESSAGE,
- "Error during output "
- "compression. Sending uncompressed output."
+ "Error during output compression. Sending uncompressed output."
<< std::endl);
delete[] out;
return;