diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 7116f4d1a..4b51ebef0 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(arg); - std::vector 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 e88cadca6..80c447642 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -1104,8 +1104,6 @@ void ctest::ProcessDirectory(std::vector &passed, int firstTest = 1; long line = 0; - std::string name; - std::vector args; cmRegularExpression ireg(this->m_IncludeRegExp.c_str()); cmRegularExpression ereg(this->m_ExcludeRegExp.c_str()); cmRegularExpression dartStuff("([\t\n ]*[\t ]*[\n]*)");