diff options
author | Rose <83477269+AtariDreams@users.noreply.github.com> | 2021-10-21 20:47:39 (GMT) |
---|---|---|
committer | Rose <83477269+AtariDreams@users.noreply.github.com> | 2021-10-23 15:30:27 (GMT) |
commit | dd918c517dc32002f44e74b0cdc6fb32cd7bee34 (patch) | |
tree | fba67b4be872eca2a515046b2e7aa12f2d3b1957 /Source/CTest | |
parent | 46bd57d2450e450da4f46f5cb45cb8d1dc617d96 (diff) | |
download | CMake-dd918c517dc32002f44e74b0cdc6fb32cd7bee34.zip CMake-dd918c517dc32002f44e74b0cdc6fb32cd7bee34.tar.gz CMake-dd918c517dc32002f44e74b0cdc6fb32cd7bee34.tar.bz2 |
Source: Simplify some boolean expressions
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); |