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:
1 parent
2bcb027533
commit
cfb21852a7
1 file changed
+1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user