diff options
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 3adb2d04d..3e8c8802b 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1926,7 +1926,7 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) { return; } for_array(i, us->list) { - Ast *expr = unparen_expr(us->list[0]); + Ast *expr = unparen_expr(us->list[i]); Entity *e = nullptr; bool is_selector = false; |