diff options
author | Brad King <brad.king@kitware.com> | 2021-10-27 13:21:56 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-10-27 13:22:04 (GMT) |
commit | ede11598ba16841c7652160ba8dd755c259bc122 (patch) | |
tree | f0734aa58b6ff594eb5a2f4652ab7b3560615c10 /Source/CTest | |
parent | b20faa97818e83dd6c056e54618e25c0e31dea18 (diff) | |
parent | dd918c517dc32002f44e74b0cdc6fb32cd7bee34 (diff) | |
download | CMake-ede11598ba16841c7652160ba8dd755c259bc122.zip CMake-ede11598ba16841c7652160ba8dd755c259bc122.tar.gz CMake-ede11598ba16841c7652160ba8dd755c259bc122.tar.bz2 |
Merge topic 'simplify-boolean-expressions'
dd918c517d Source: Simplify some boolean expressions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !6654
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index 57b1dda..b16d4d0 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -49,9 +49,8 @@ public: } ~cmCTestRunProcess() { - if (!(this->PipeState == -1) && - !(this->PipeState == cmsysProcess_Pipe_None) && - !(this->PipeState == cmsysProcess_Pipe_Timeout)) { + if (this->PipeState != -1 && this->PipeState != cmsysProcess_Pipe_None && + this->PipeState != cmsysProcess_Pipe_Timeout) { this->WaitForExit(); } cmsysProcess_Delete(this->Process); |