summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-16 19:38:36 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-16 19:38:36 (GMT)
commitea6547b6b3921b1fc376b8c56b94704acf796296 (patch)
tree1fac4a4c769b0e635f122dbf0f6a49cf4c3d8a72 /Source/CTest
parentfc913ee4992ca84d5b2dae7fa739e92473a012a0 (diff)
downloadCMake-ea6547b6b3921b1fc376b8c56b94704acf796296.zip
CMake-ea6547b6b3921b1fc376b8c56b94704acf796296.tar.gz
CMake-ea6547b6b3921b1fc376b8c56b94704acf796296.tar.bz2
COMP: Remove unused variable
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestUpdateHandler.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx
index 533a6c8..4956675 100644
--- a/Source/CTest/cmCTestUpdateHandler.cxx
+++ b/Source/CTest/cmCTestUpdateHandler.cxx
@@ -403,13 +403,11 @@ int cmCTestUpdateHandler::ProcessHandler()
<< "\t<UpdateCommand>" << m_CTest->MakeXMLSafe(command)
<< "</UpdateCommand>\n"
<< "\t<UpdateReturnStatus>";
- 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 << "</UpdateReturnStatus>" << std::endl;