diff options
| author | gingerBill <bill@gingerbill.org> | 2021-05-06 14:09:50 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-05-06 14:09:50 +0100 |
| commit | 47f97b8f89e1d22967b7117546fa7552d895bd1f (patch) | |
| tree | 5fbf3b9e33d5ebbff9974ef497267ef58d4563ea /src/check_expr.cpp | |
| parent | 902be0d09c4bf40735a7b15bfc3afe73198e2d5a (diff) | |
Remove unused hint
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 75e2bcf5f..60f07a068 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -7333,15 +7333,11 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type case_end; case_ast_node(ue, UnaryExpr, node); - Ast *prev_unary_address_hint = c->unary_address_hint; - c->unary_address_hint = unparen_expr(node); - Type *th = type_hint; if (ue->op.kind == Token_And) { th = type_deref(th); } check_expr_base(c, o, ue->expr, th); - c->unary_address_hint = prev_unary_address_hint; node->viral_state_flags |= ue->expr->viral_state_flags; if (o->mode == Addressing_Invalid) { |