diff options
author | chriseth <chris@ethereum.org> | 2017-06-14 22:33:44 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-06-14 23:39:36 +0800 |
commit | 29e7ad3d7b2b1700c085348911b0d6f129d2a5a5 (patch) | |
tree | 492af997e14515c7b062c24a33b9a57a30e5b251 /libsolidity/analysis | |
parent | 07cc84fadee7f1f86467a8dba435b2d5b28db268 (diff) | |
download | dexon-solidity-29e7ad3d7b2b1700c085348911b0d6f129d2a5a5.tar.gz dexon-solidity-29e7ad3d7b2b1700c085348911b0d6f129d2a5a5.tar.zst dexon-solidity-29e7ad3d7b2b1700c085348911b0d6f129d2a5a5.zip |
Silence compiler warning.
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index 50482b8f..2a8d1ff6 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -1287,7 +1287,7 @@ bool TypeChecker::visit(FunctionCall const& _functionCall) membersRemovedForStructConstructor = structType.membersMissingInMemory(); _functionCall.annotation().isPure = isPure; } - else if (functionType = dynamic_pointer_cast<FunctionType const>(expressionType)) + else if ((functionType = dynamic_pointer_cast<FunctionType const>(expressionType))) _functionCall.annotation().isPure = isPure && _functionCall.expression().annotation().isPure && |