From 29e7ad3d7b2b1700c085348911b0d6f129d2a5a5 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 14 Jun 2017 16:33:44 +0200 Subject: Silence compiler warning. --- libsolidity/analysis/TypeChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(expressionType)) + else if ((functionType = dynamic_pointer_cast(expressionType))) _functionCall.annotation().isPure = isPure && _functionCall.expression().annotation().isPure && -- cgit