diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-04 13:50:32 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-04 13:50:32 (GMT) |
commit | 7098b666faa2ddacdd2bf97b7533561a9f58bda6 (patch) | |
tree | c1639d27c02d4013cdf2d4be9fdef1c055f590e1 | |
parent | 9466dd3481b72853c575ca8d01d9781e547a86c5 (diff) | |
download | CMake-7098b666faa2ddacdd2bf97b7533561a9f58bda6.zip CMake-7098b666faa2ddacdd2bf97b7533561a9f58bda6.tar.gz CMake-7098b666faa2ddacdd2bf97b7533561a9f58bda6.tar.bz2 |
COMP: fix some warnings
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 3 | ||||
-rw-r--r-- | Source/cmCTest.cxx | 1 |
2 files changed, 1 insertions, 3 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); } } diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 39da6cc..77bf102 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -1659,7 +1659,6 @@ void cmCTest::HandleCommandLineArguments(size_t &i, if(this->CheckArgument(arg, "--parallel-cache") && i < args.size() - 1) { i++; - int plevel = atoi(args[i].c_str()); this->SetParallelCacheFile(args[i].c_str()); } |