diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-10 15:55:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-12 19:04:16 (GMT) |
commit | b932cd429800bb24d71e1d60f954fe4df2d1eb5c (patch) | |
tree | 84d42b0bd94f5dc5085ea76fb13ec1b8a4dd0f1c /Source/cmCTest.cxx | |
parent | 88da3d68c2d205688762fd6a7e84fd730533e844 (diff) | |
download | CMake-b932cd429800bb24d71e1d60f954fe4df2d1eb5c.zip CMake-b932cd429800bb24d71e1d60f954fe4df2d1eb5c.tar.gz CMake-b932cd429800bb24d71e1d60f954fe4df2d1eb5c.tar.bz2 |
clang-tidy: apply misc-redundant-expression fixes
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index dfec0fb..559275e 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -2787,7 +2787,7 @@ bool cmCTest::CompressString(std::string& str) strm.next_out = &out[0]; ret = deflate(&strm, Z_FINISH); - if (ret == Z_STREAM_ERROR || ret != Z_STREAM_END) { + if (ret != Z_STREAM_END) { cmCTestLog(this, ERROR_MESSAGE, "Error during gzip compression." << std::endl); return false; |