diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-02-10 14:17:33 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-02-10 14:17:33 -0500 |
| commit | dbdd3bacf57a09d6c66f37e68db42cf0c049369d (patch) | |
| tree | 28b53ff485a7843d53a99b45b06852b248ba64e2 /structs.c | |
| parent | 15b9b3fe86ac88492bf9befb5a52770e8273630b (diff) | |
Remove redundant declaration
Diffstat (limited to 'structs.c')
| -rw-r--r-- | structs.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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, " |
