Browse Source

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

derrod 2 years ago
parent
commit
2385a3f0f8
1 changed files with 0 additions and 3 deletions
  1. 0 3
      libobs/util/text-lookup.c

+ 0 - 3
libobs/util/text-lookup.c

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