diff options
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 28a3dadce..b23ab2b74 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -352,10 +352,6 @@ void check_const_decl(CheckerContext *ctx, Entity *e, AstNode *type_expr, AstNod } } - if (init != nullptr) { - check_expr_or_type(ctx, &operand, init, e->type); - } - check_init_constant(ctx, e, &operand); if (operand.mode == Addressing_Invalid || |