commit 62c1dd748d3f2f81d514d508fa5cab46c0a3fb52
parent cee718c7067643bb4a9c88523f24959e02e80d92
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 12 Aug 2021 08:04:43 +0200
gen: fix empty auto-filled struct initializers
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/gen.c b/src/gen.c
@@ -1983,7 +1983,6 @@ gen_expr_struct_at(struct gen_context *ctx,
field; field = field->next) {
if (!field->value) {
assert(expr->_struct.autofill);
- field = field->next;
continue;
}