From 870f2aeb2e732ad580d72546686673e82616f0b1 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 13 Oct 2006 10:27:01 -0400 Subject: BUG: Replace some errors with warnings --- Source/CTest/cmCTestMemCheckHandler.cxx | 2 +- Source/CTest/cmCTestUpdateHandler.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx index e9b6c09..1726071 100644 --- a/Source/CTest/cmCTestMemCheckHandler.cxx +++ b/Source/CTest/cmCTestMemCheckHandler.cxx @@ -334,7 +334,7 @@ bool cmCTestMemCheckHandler::InitializeMemoryChecking() } else { - cmCTestLog(this->CTest, ERROR_MESSAGE, + cmCTestLog(this->CTest, WARNING, "Memory checker (MemoryCheckCommand) " "not set, or cannot find the specified program." << std::endl); diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 7329a8d..08017c5 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -744,7 +744,7 @@ int cmCTestUpdateHandler::ProcessHandler() ofs << output << std::endl; } } - if ( res && retVal == 0) + if ( res ) { cmCTestLog(this->CTest, DEBUG, output << std::endl); std::string::size_type sline = 0; @@ -1090,7 +1090,7 @@ int cmCTestUpdateHandler::ProcessHandler() os << "" << std::endl; os << "" << std::endl; - if (! res || retVal ) + if (! res ) { cmCTestLog(this->CTest, ERROR_MESSAGE, "Error(s) when updating the project" << std::endl); -- cgit v0.12