Silence compiler warning.

This commit is contained in:
chriseth 2017-06-14 16:33:44 +02:00
parent 07cc84fade
commit 29e7ad3d7b

View File

@ -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 &&