summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-12-13 14:27:31 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-12-13 14:27:31 (GMT)
commitad8504701e1316f269eb62882f81bcbd7f50a71d (patch)
tree51b9bb6b992ea33d130710eec824d9a74133ced1
parent08f1d2f9e19e0900fe47e6cee792b0c6e87fee8e (diff)
downloadCMake-ad8504701e1316f269eb62882f81bcbd7f50a71d.zip
CMake-ad8504701e1316f269eb62882f81bcbd7f50a71d.tar.gz
CMake-ad8504701e1316f269eb62882f81bcbd7f50a71d.tar.bz2
fixed warnings
-rw-r--r--Source/cmCPluginAPI.cxx1
-rw-r--r--Source/ctest.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx
index 7116f4d..4b51ebe 100644
--- a/Source/cmCPluginAPI.cxx
+++ b/Source/cmCPluginAPI.cxx
@@ -295,7 +295,6 @@ void cmExecuteCommand(void *arg, const char *name,
int numArgs, const char **args)
{
cmMakefile *mf = static_cast<cmMakefile *>(arg);
- std::vector<std::string> args2;
cmListFileFunction lff;
lff.m_Name = name;
for(int i = 0; i < numArgs; ++i)
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index e88cadc..80c4476 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -1104,8 +1104,6 @@ void ctest::ProcessDirectory(std::vector<std::string> &passed,
int firstTest = 1;
long line = 0;
- std::string name;
- std::vector<std::string> args;
cmRegularExpression ireg(this->m_IncludeRegExp.c_str());
cmRegularExpression ereg(this->m_ExcludeRegExp.c_str());
cmRegularExpression dartStuff("([\t\n ]*<DartMeasurement.*/DartMeasurement[a-zA-Z]*>[\t ]*[\n]*)");