summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-10-13 14:27:01 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-10-13 14:27:01 (GMT)
commit870f2aeb2e732ad580d72546686673e82616f0b1 (patch)
treeb99a48371f5b5df67e83727dc90f656ca625b8e1 /Source/CTest/cmCTestUpdateHandler.cxx
parent69356d8a7a73cc1a6842eef7fce552610e901dfe (diff)
downloadCMake-870f2aeb2e732ad580d72546686673e82616f0b1.zip
CMake-870f2aeb2e732ad580d72546686673e82616f0b1.tar.gz
CMake-870f2aeb2e732ad580d72546686673e82616f0b1.tar.bz2
BUG: Replace some errors with warnings
Diffstat (limited to 'Source/CTest/cmCTestUpdateHandler.cxx')
-rw-r--r--Source/CTest/cmCTestUpdateHandler.cxx4
1 files changed, 2 insertions, 2 deletions
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 << "</UpdateReturnStatus>" << std::endl;
os << "</Update>" << std::endl;
- if (! res || retVal )
+ if (! res )
{
cmCTestLog(this->CTest, ERROR_MESSAGE,
"Error(s) when updating the project" << std::endl);