From d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3 Mon Sep 17 00:00:00 2001 From: Kwang Yul Seo Date: Mon, 13 Nov 2017 09:54:29 +0900 Subject: Remove a redundant check m_type can't be FunctionType::Kind::DelegateCall. --- libsolidity/ast/Types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(4) )); - if (m_kind != Kind::BareDelegateCall && m_kind != Kind::DelegateCall) + if (m_kind != Kind::BareDelegateCall) { if (isPayable()) members.push_back(MemberList::Member( -- cgit