summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]*)");