aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-02-10 14:17:33 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-02-10 14:17:33 -0500
commitdbdd3bacf57a09d6c66f37e68db42cf0c049369d (patch)
tree28b53ff485a7843d53a99b45b06852b248ba64e2
parent15b9b3fe86ac88492bf9befb5a52770e8273630b (diff)
Remove redundant declaration
-rw-r--r--structs.c1
1 files changed, 0 insertions, 1 deletions
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, "