COMP: fix some warnings

This commit is contained in:
Bill Hoffman 2008-07-04 09:50:32 -04:00
parent 9466dd3481
commit 7098b666fa
2 changed files with 1 additions and 3 deletions

View File

@ -1143,7 +1143,7 @@ void cmCTestTestHandler::LoadTestList()
{ {
cmCTestTestProperties p; cmCTestTestProperties p;
int numArgs; 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("Directory:", p.Directory, fin);
ok = ok && this->GetValue("Args:", numArgs, fin); ok = ok && this->GetValue("Args:", numArgs, fin);
for(int j =0; j < numArgs; ++j) for(int j =0; j < numArgs; ++j)
@ -2196,7 +2196,6 @@ bool cmCTestTestHandler::SetTestsProperties(
std::vector<std::string>::iterator crit; std::vector<std::string>::iterator crit;
for ( crit = lval.begin(); crit != lval.end(); ++ crit ) for ( crit = lval.begin(); crit != lval.end(); ++ crit )
{ {
cmCTestTestProperties* tp = &(*rtit);
rtit->Depends.push_back(*crit); rtit->Depends.push_back(*crit);
} }
} }

View File

@ -1659,7 +1659,6 @@ void cmCTest::HandleCommandLineArguments(size_t &i,
if(this->CheckArgument(arg, "--parallel-cache") && i < args.size() - 1) if(this->CheckArgument(arg, "--parallel-cache") && i < args.size() - 1)
{ {
i++; i++;
int plevel = atoi(args[i].c_str());
this->SetParallelCacheFile(args[i].c_str()); this->SetParallelCacheFile(args[i].c_str());
} }