Commit cb4eaeab authored by Bill Hoffman's avatar Bill Hoffman
Browse files

COMP: fix a few more warnings

parent 5aa8ec20
...@@ -1147,7 +1147,7 @@ void cmCTestTestHandler::LoadTestList() ...@@ -1147,7 +1147,7 @@ void cmCTestTestHandler::LoadTestList()
for(int i =0; i < numTestsToRun; i++) for(int i =0; i < numTestsToRun; i++)
{ {
cmCTestTestProperties p; cmCTestTestProperties p;
int numArgs; int numArgs = 0;
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);
...@@ -1763,7 +1763,7 @@ const char* cmCTestTestHandler::GetTestStatus(int status) ...@@ -1763,7 +1763,7 @@ const char* cmCTestTestHandler::GetTestStatus(int status)
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
void cmCTestTestHandler::ExpandTestsToRunInformation(int numTests) void cmCTestTestHandler::ExpandTestsToRunInformation(size_t numTests)
{ {
if (this->TestsToRunString.empty()) if (this->TestsToRunString.empty())
{ {
......
...@@ -218,7 +218,7 @@ private: ...@@ -218,7 +218,7 @@ private:
std::string FindTheExecutable(const char *exe); std::string FindTheExecutable(const char *exe);
const char* GetTestStatus(int status); const char* GetTestStatus(int status);
void ExpandTestsToRunInformation(int numPossibleTests); void ExpandTestsToRunInformation(size_t numPossibleTests);
std::vector<cmStdString> CustomPreTest; std::vector<cmStdString> CustomPreTest;
std::vector<cmStdString> CustomPostTest; std::vector<cmStdString> CustomPostTest;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment