harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4fd33e47706ebdb9d6eed3cbee3fc4ea2f941510
parent 6d0042e395f6c438f08d3e25ff6e8418fda35808
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 10 Aug 2021 14:11:42 +0200

gen: style fix for append

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Msrc/gen.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen.c b/src/gen.c @@ -559,7 +559,7 @@ gen_expr_append(struct gen_context *ctx, const struct expression *expr) pushi(ctx->current, &offs, Q_MUL, &len, &membsz, NULL); pushi(ctx->current, &ptr, Q_ADD, &ptr, &offs, NULL); - struct gen_value item = (struct gen_value){ + struct gen_value item = { .kind = GV_TEMP, .type = mtype, .name = ptr.name,