diff options
author | chriseth <chris@ethereum.org> | 2017-11-13 18:54:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 18:54:41 +0800 |
commit | 060b2c2b23da99836eb54dc30eb7d870016bcb7a (patch) | |
tree | 32df711f9508f65883cd7d7ef4f5996496e6cc84 | |
parent | 284c3839720dc1a382299160904d974a280191f3 (diff) | |
parent | d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3 (diff) | |
download | dexon-solidity-060b2c2b23da99836eb54dc30eb7d870016bcb7a.tar dexon-solidity-060b2c2b23da99836eb54dc30eb7d870016bcb7a.tar.gz dexon-solidity-060b2c2b23da99836eb54dc30eb7d870016bcb7a.tar.bz2 dexon-solidity-060b2c2b23da99836eb54dc30eb7d870016bcb7a.tar.lz dexon-solidity-060b2c2b23da99836eb54dc30eb7d870016bcb7a.tar.xz dexon-solidity-060b2c2b23da99836eb54dc30eb7d870016bcb7a.tar.zst dexon-solidity-060b2c2b23da99836eb54dc30eb7d870016bcb7a.zip |
Merge pull request #3191 from kseo/redundant-check
Remove a redundant check
-rw-r--r-- | libsolidity/ast/Types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp index ee5f462b..21daac2c 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -2574,7 +2574,7 @@ MemberList::MemberMap FunctionType::nativeMembers(ContractDefinition const*) con "selector", make_shared<FixedBytesType>(4) )); - if (m_kind != Kind::BareDelegateCall && m_kind != Kind::DelegateCall) + if (m_kind != Kind::BareDelegateCall) { if (isPayable()) members.push_back(MemberList::Member( |