diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-19 21:11:19 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-19 21:11:19 (GMT) |
commit | d79f47519c0c9990e7b2cbb333cbf4730240a039 (patch) | |
tree | 9f1f7180c12fc0754f43c2a9ac9b51aa26d77789 | |
parent | 33d55456c3d1adbdff0b9cdffed38c3062749ceb (diff) | |
download | CMake-d79f47519c0c9990e7b2cbb333cbf4730240a039.zip CMake-d79f47519c0c9990e7b2cbb333cbf4730240a039.tar.gz CMake-d79f47519c0c9990e7b2cbb333cbf4730240a039.tar.bz2 |
Fix for visual studio
-rw-r--r-- | Source/cmCTest.cxx | 9 | ||||
-rw-r--r-- | Source/cmCTest.h | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index db004a2..6dc668c 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -30,11 +30,6 @@ #ifdef HAVE_CURL static struct tm* GetNightlyTime(std::string str) { - int hour; - int min; - int sec; - char stz[100]; - int tz; struct tm* lctime; time_t tctime = time(0); //Convert the nightly start time to seconds. Since we are @@ -391,7 +386,7 @@ void cmCTest::Finalize() { } -std::string cmCTest::FindExecutable(const char *exe) +std::string cmCTest::FindTheExecutable(const char *exe) { std::string fullPath = ""; std::string dir; @@ -1595,7 +1590,7 @@ void cmCTest::ProcessDirectory(std::vector<std::string> &passed, } //std::cerr << "Testing " << args[0] << " ... "; // find the test executable - std::string testCommand = this->FindExecutable(args[1].Value.c_str()); + std::string testCommand = this->FindTheExecutable(args[1].Value.c_str()); testCommand = cmSystemTools::ConvertToOutputPath(testCommand.c_str()); // continue if we did not find the executable diff --git a/Source/cmCTest.h b/Source/cmCTest.h index dcd8103..d9ed285 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -87,7 +87,7 @@ public: /** * Find the executable for a test */ - std::string FindExecutable(const char *exe); + std::string FindTheExecutable(const char *exe); /** * Set the cmake test |