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