diff options
| author | gingerBill <ginger.bill.22@gmail.com> | 2016-08-15 21:22:44 +0100 |
|---|---|---|
| committer | gingerBill <ginger.bill.22@gmail.com> | 2016-08-16 10:56:44 +0100 |
| commit | 0dd17fe84308bba09c6d2ba15f8b8504bbcf5c89 (patch) | |
| tree | 720ab8306146f4febc14c72ae7601fb90bc487dc /src/checker/stmt.cpp | |
| parent | dcbb2fcfbdbd3b35ddc44a4c542b7c6375e47214 (diff) | |
Win32 Window Test
Diffstat (limited to 'src/checker/stmt.cpp')
| -rw-r--r-- | src/checker/stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker/stmt.cpp b/src/checker/stmt.cpp index 9b127b7aa..2fbe8e1d3 100644 --- a/src/checker/stmt.cpp +++ b/src/checker/stmt.cpp @@ -351,7 +351,7 @@ void check_const_decl(Checker *c, Entity *e, AstNode *type_expr, AstNode *init_e e->type = t; } - Operand operand = {Addressing_Invalid}; + Operand operand = {}; if (init_expr) check_expr(c, &operand, init_expr); check_init_constant(c, e, &operand); |