summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-08-16 15:20:48 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-08-16 15:20:48 (GMT)
commit4380c3b0f1eb398d3608321efce01577d2968f29 (patch)
treec5aa251f7f3d99e107391cf7be4892d8eb0af839 /Source/cmMacroCommand.cxx
parent7b5a8762c6d5f7915db99e2344d169d14a4fda65 (diff)
downloadCMake-4380c3b0f1eb398d3608321efce01577d2968f29.zip
CMake-4380c3b0f1eb398d3608321efce01577d2968f29.tar.gz
CMake-4380c3b0f1eb398d3608321efce01577d2968f29.tar.bz2
minor fix
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;
}