mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove unused 050 variable in ReferencesResolver
This commit is contained in:
parent
2ab66bf798
commit
08e431f94e
@ -47,7 +47,6 @@ bool ReferencesResolver::visit(Block const& _block)
|
|||||||
{
|
{
|
||||||
if (!m_resolveInsideCode)
|
if (!m_resolveInsideCode)
|
||||||
return false;
|
return false;
|
||||||
m_experimental050Mode = _block.sourceUnit().annotation().experimentalFeatures.count(ExperimentalFeature::V050);
|
|
||||||
m_resolver.setScope(&_block);
|
m_resolver.setScope(&_block);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -64,7 +63,6 @@ bool ReferencesResolver::visit(ForStatement const& _for)
|
|||||||
{
|
{
|
||||||
if (!m_resolveInsideCode)
|
if (!m_resolveInsideCode)
|
||||||
return false;
|
return false;
|
||||||
m_experimental050Mode = _for.sourceUnit().annotation().experimentalFeatures.count(ExperimentalFeature::V050);
|
|
||||||
m_resolver.setScope(&_for);
|
m_resolver.setScope(&_for);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -94,7 +94,6 @@ private:
|
|||||||
std::vector<ParameterList const*> m_returnParameters;
|
std::vector<ParameterList const*> m_returnParameters;
|
||||||
bool const m_resolveInsideCode;
|
bool const m_resolveInsideCode;
|
||||||
bool m_errorOccurred = false;
|
bool m_errorOccurred = false;
|
||||||
bool m_experimental050Mode = false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user