summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateHandler.cxx
diff options
context:
space:
mode:
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);