0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

libobs/util: Remove unused struct member from text-lookup

This commit is contained in:
derrod 2023-11-20 15:36:26 +01:00 committed by Lain
parent 16fed06927
commit 2385a3f0f8

View File

@ -39,7 +39,6 @@ static inline void text_item_destroy(struct text_item *item)
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
struct text_lookup { struct text_lookup {
struct dstr language;
struct text_item *items; struct text_item *items;
}; };
@ -263,8 +262,6 @@ void text_lookup_destroy(lookup_t *lookup)
HASH_DELETE(hh, lookup->items, item); HASH_DELETE(hh, lookup->items, item);
text_item_destroy(item); text_item_destroy(item);
} }
dstr_free(&lookup->language);
bfree(lookup); bfree(lookup);
} }
} }