diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-06 18:48:48 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-06 19:03:00 +0800 |
commit | 08e431f94e6f8fda05c6507e487dcbbf3c155aae (patch) | |
tree | 37f717d29e81ac271e5d88fd7bbf985aeac6439e /libsolidity/analysis | |
parent | 2ab66bf7986d2d92091b75f95a7c61ed9632f65d (diff) | |
download | dexon-solidity-08e431f94e6f8fda05c6507e487dcbbf3c155aae.tar.gz dexon-solidity-08e431f94e6f8fda05c6507e487dcbbf3c155aae.tar.zst dexon-solidity-08e431f94e6f8fda05c6507e487dcbbf3c155aae.zip |
Remove unused 050 variable in ReferencesResolver
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r-- | libsolidity/analysis/ReferencesResolver.cpp | 2 | ||||
-rw-r--r-- | libsolidity/analysis/ReferencesResolver.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/libsolidity/analysis/ReferencesResolver.cpp b/libsolidity/analysis/ReferencesResolver.cpp index e058d917..ba793933 100644 --- a/libsolidity/analysis/ReferencesResolver.cpp +++ b/libsolidity/analysis/ReferencesResolver.cpp @@ -47,7 +47,6 @@ bool ReferencesResolver::visit(Block const& _block) { if (!m_resolveInsideCode) return false; - m_experimental050Mode = _block.sourceUnit().annotation().experimentalFeatures.count(ExperimentalFeature::V050); m_resolver.setScope(&_block); return true; } @@ -64,7 +63,6 @@ bool ReferencesResolver::visit(ForStatement const& _for) { if (!m_resolveInsideCode) return false; - m_experimental050Mode = _for.sourceUnit().annotation().experimentalFeatures.count(ExperimentalFeature::V050); m_resolver.setScope(&_for); return true; } diff --git a/libsolidity/analysis/ReferencesResolver.h b/libsolidity/analysis/ReferencesResolver.h index 4e8f54b5..24ec4643 100644 --- a/libsolidity/analysis/ReferencesResolver.h +++ b/libsolidity/analysis/ReferencesResolver.h @@ -94,7 +94,6 @@ private: std::vector<ParameterList const*> m_returnParameters; bool const m_resolveInsideCode; bool m_errorOccurred = false; - bool m_experimental050Mode = false; }; } |