Explorar o código

fixed warnings

Ken Martin %!s(int64=23) %!d(string=hai) anos
pai
achega
ad8504701e
Modificáronse 2 ficheiros con 0 adicións e 3 borrados
  1. 0 1
      Source/cmCPluginAPI.cxx
  2. 0 2
      Source/ctest.cxx

+ 0 - 1
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)

+ 0 - 2
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]*)");