From d79f47519c0c9990e7b2cbb333cbf4730240a039 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 19 Mar 2003 16:11:19 -0500 Subject: Fix for visual studio --- Source/cmCTest.cxx | 9 ++------- 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 &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 -- cgit v0.12