commit 34a6dd17402e7cfb50df20966a2859309c7bfbf2
parent bb7f43d999e6f687c4979e92ed9288101f6983a6
Author: Bor Grošelj Simić <bgs@turminal.net>
Date: Sat, 21 May 2022 03:03:01 +0200
remove unneeded scope_push
Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/check.c b/src/check.c
@@ -3288,7 +3288,6 @@ incomplete_types_create(struct context *ctx, struct scope *imp, struct ast_decl
scope_push(&enum_scope, SCOPE_ENUM);
incomplete_enum_field_create(ctx, imp, enum_scope,
etype, t->type->_enum.values);
- scope_push(&enum_scope, SCOPE_ENUM);
}
}
}