summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmIfCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index eda255d..98491e9 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -67,7 +67,7 @@ bool cmIfFunctionBlocker::
ShouldRemove(const char *name, const std::vector<std::string> &args,
cmMakefile &)
{
- if (!strcmp(name,"ELSE") || !strcmp(name,"ENDIF"))
+ if (!strcmp(name,"ENDIF"))
{
if (args == m_Args)
{