瀏覽代碼

minor fix

Ken Martin 23 年之前
父節點
當前提交
5d2f83dad5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmIfCommand.cxx

+ 1 - 1
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)
       {