Ken Martin 23 лет назад
Родитель
Сommit
4380c3b0f1
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      Source/cmMacroCommand.cxx

+ 1 - 5
Source/cmMacroCommand.cxx

@@ -87,13 +87,9 @@ IsFunctionBlocked(const char *name, const std::vector<std::string> &args,
 }
 
 bool cmMacroFunctionBlocker::
-ShouldRemove(const char *name, const std::vector<std::string> &args, 
+ShouldRemove(const char *, const std::vector<std::string> &, 
              cmMakefile &) 
 {
-  if (!strcmp(name,"ENDFOREACH") && args[0] == m_Args[0])
-    {
-    return true;
-    }
   return false;
 }