mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Also save and restore the nesting depth.
This commit is contained in:
parent
2bcb027533
commit
63f0a22c5d
@ -73,6 +73,7 @@ void UnusedStoreBase::operator()(FunctionDefinition const& _functionDefinition)
|
||||
{
|
||||
ScopedSaveAndRestore outerAssignments(m_stores, {});
|
||||
ScopedSaveAndRestore forLoopInfo(m_forLoopInfo, {});
|
||||
ScopedSaveAndRestore forLoopNestingDepth(m_forLoopNestingDepth, 0);
|
||||
|
||||
(*this)(_functionDefinition.body);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user