summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-23 20:35:03 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-23 20:35:03 (GMT)
commit9ce59dbde0b7b1ae721626e8a92f45fa18ebf1b7 (patch)
treede73f952ddb9593a8901beb59244b89f2b54ce4b /Source
parent00d25466646d26d30e462e8c9ecf968d8a459040 (diff)
downloadCMake-9ce59dbde0b7b1ae721626e8a92f45fa18ebf1b7.zip
CMake-9ce59dbde0b7b1ae721626e8a92f45fa18ebf1b7.tar.gz
CMake-9ce59dbde0b7b1ae721626e8a92f45fa18ebf1b7.tar.bz2
COMP: Remove warning
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestBuildAndTestHandler.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx
index 3652f8d..b7a27d9 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.cxx
+++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx
@@ -144,7 +144,6 @@ int cmCTestBuildAndTestHandler::RunCMakeAndTest(std::string* outstring)
cmSystemTools::SetStdoutCallback(CMakeStdoutCallback, &cmakeOutString);
cmOStringStream out;
// What is this? double timeout = this->CTest->GetTimeOut();
- int retVal = 0;
// if the generator and make program are not specified then it is an error
if (!this->BuildGenerator.size() || !this->BuildMakeProgram.size())
@@ -193,7 +192,7 @@ int cmCTestBuildAndTestHandler::RunCMakeAndTest(std::string* outstring)
++ tarIt )
{
std::string output;
- retVal = cm.GetGlobalGenerator()->Build(
+ int retVal = cm.GetGlobalGenerator()->Build(
this->SourceDir.c_str(), this->BinaryDir.c_str(),
this->BuildProject.c_str(), tarIt->c_str(),
&output, this->BuildMakeProgram.c_str(),