mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Silence compiler warning.
This commit is contained in:
parent
07cc84fade
commit
29e7ad3d7b
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user