mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Save and restore for loop nesting level in UnusedStoreBase.
This commit is contained in:
parent
2bcb027533
commit
cfb21852a7
@ -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