diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2020-03-18 21:30:08 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2020-03-23 18:47:47 (GMT) |
commit | dc21177461f6d4bf9737761cbd5a9f0db88525e7 (patch) | |
tree | 308bd5a06e97bb087a30ee4455d91322caeba9ff /Source/CTest/cmCTestTestHandler.cxx | |
parent | 36bfb80338bdd93dbecb9776ebd8583a68b6c439 (diff) | |
download | CMake-dc21177461f6d4bf9737761cbd5a9f0db88525e7.zip CMake-dc21177461f6d4bf9737761cbd5a9f0db88525e7.tar.gz CMake-dc21177461f6d4bf9737761cbd5a9f0db88525e7.tar.bz2 |
remove pointless return value from cmCTestTestHandler::CleanTestOutput()
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 8513f4b..5ae5867 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -2089,11 +2089,11 @@ void cmCTestTestHandler::SetTestsToRunInformation(const char* in) } } -bool cmCTestTestHandler::CleanTestOutput(std::string& output, size_t length) +void cmCTestTestHandler::CleanTestOutput(std::string& output, size_t length) { if (!length || length >= output.size() || output.find("CTEST_FULL_OUTPUT") != std::string::npos) { - return true; + return; } // Truncate at given length but do not break in the middle of a multi-byte @@ -2124,7 +2124,6 @@ bool cmCTestTestHandler::CleanTestOutput(std::string& output, size_t length) "of " << length << " bytes.\n"; output += msg.str(); - return true; } bool cmCTestTestHandler::SetTestsProperties( |