diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 533a6c8a9..4956675e3 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -403,13 +403,11 @@ int cmCTestUpdateHandler::ProcessHandler() << "\t" << m_CTest->MakeXMLSafe(command) << "\n" << "\t"; - int failed = 0; if ( !res || retVal ) { os << "Update error: "; os << m_CTest->MakeXMLSafe(goutput); std::cerr << "Update with command: " << command << " failed" << std::endl; - failed = 1; } os << "" << std::endl;