diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index 4f52a8190..b6b119422 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -87,13 +87,9 @@ IsFunctionBlocked(const char *name, const std::vector &args, } bool cmMacroFunctionBlocker:: -ShouldRemove(const char *name, const std::vector &args, +ShouldRemove(const char *, const std::vector &, cmMakefile &) { - if (!strcmp(name,"ENDFOREACH") && args[0] == m_Args[0]) - { - return true; - } return false; }