diff options
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r-- | Source/cmMacroCommand.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index 5231062..033f549 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -203,10 +203,9 @@ bool cmMacroFunctionBlocker::IsFunctionBlocked(const cmListFileFunction& lff, // remove the function blocker now that the macro is defined mf.RemoveFunctionBlocker(this, lff); return true; - } else { - // decrement for each nested macro that ends - this->Depth--; } + // decrement for each nested macro that ends + this->Depth--; } // if it wasn't an endmacro and we are not executing then we must be |