diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h index 0309e28db..25fec855f 100644 --- a/libsolidity/ast/ASTAnnotations.h +++ b/libsolidity/ast/ASTAnnotations.h @@ -254,7 +254,7 @@ struct ExpressionAnnotation: ASTAnnotation /// Whether the expression is an lvalue that is only assigned. /// Would be false for --, ++, delete, +=, -=, .... /// Only relevant if isLvalue == true - bool lValueOfOrdinaryAssignment; + bool lValueOfOrdinaryAssignment = false; /// Types and - if given - names of arguments if the expr. is a function /// that is called, used for overload resolution