diff options
Diffstat (limited to 'idlc/source/aststack.cxx')
-rw-r--r-- | idlc/source/aststack.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/idlc/source/aststack.cxx b/idlc/source/aststack.cxx index 711c86d45fad..d3db212e18fb 100644 --- a/idlc/source/aststack.cxx +++ b/idlc/source/aststack.cxx @@ -124,11 +124,9 @@ AstStack* AstStack::push(AstScope* pScope) void AstStack::pop() { - AstScope *pScope; - if (m_top < 1) return; - pScope = m_stack[--m_top]; + --m_top; } void AstStack::clear() |