summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r--Source/cmMacroCommand.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx
index 4f52a81..b6b1194 100644
--- a/Source/cmMacroCommand.cxx
+++ b/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;
}