diff options
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 2db4d6d..e73b70f 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1143,7 +1143,7 @@ void cmCTestTestHandler::LoadTestList() { cmCTestTestProperties p; int numArgs; - bool ok = this->GetValue("Name:", p.Name, fin); + ok = this->GetValue("Name:", p.Name, fin); ok = ok && this->GetValue("Directory:", p.Directory, fin); ok = ok && this->GetValue("Args:", numArgs, fin); for(int j =0; j < numArgs; ++j) @@ -2196,7 +2196,6 @@ bool cmCTestTestHandler::SetTestsProperties( std::vector<std::string>::iterator crit; for ( crit = lval.begin(); crit != lval.end(); ++ crit ) { - cmCTestTestProperties* tp = &(*rtit); rtit->Depends.push_back(*crit); } } |