From dbdd3bacf57a09d6c66f37e68db42cf0c049369d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 10 Feb 2025 14:17:33 -0500 Subject: Remove redundant declaration --- structs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/structs.c b/structs.c index 8e184266..94a04de9 100644 --- a/structs.c +++ b/structs.c @@ -26,7 +26,6 @@ void compile_struct_def(env_t *env, ast_t *ast) if (strchr(short_name, '$')) short_name = strrchr(short_name, '$') + 1; - env->code->typeinfos = CORD_all("public const TypeInfo_t ", full_name, ";\n", env->code->typeinfos); const char *metamethods = is_packed_data(t) ? "PackedData$metamethods" : "Struct$metamethods"; CORD typeinfo = CORD_asprintf("public const TypeInfo_t %r = {.size=%zu, .align=%zu, .metamethods=%s, " ".tag=StructInfo, .StructInfo.name=\"%s\"%s, " -- cgit v1.2.3