From c6c1d62489b81c3568aa7d57a01c543a1c3f1f4a Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 10 Dec 2022 14:36:39 -0500 Subject: [Bug Fix] filetypes.c move voice data out of INIT_ATTR tree_get_filetype_voiceclip is called after init it shouldn't be marked as INIT_ATTR add _init to the functions & data that are used at init only to be a bit more clear Change-Id: I8eb1914560b782c2c0fdd7649e761f94e382d5cb --- apps/tree.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index 3684e395a1..4df2c4e327 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -77,9 +77,6 @@ #include "root_menu.h" -static const struct filetype *filetypes; -static int filetypes_count; - static struct gui_synclist tree_lists; /* I put it here because other files doesn't use it yet, @@ -1090,7 +1087,6 @@ void tree_mem_init(void) cache->entries_handle = core_alloc_ex("tree entries", cache->max_entries*(sizeof(struct entry)), &ops); - tree_get_filetypes(&filetypes, &filetypes_count); } bool bookmark_play(char *resume_file, int index, unsigned long elapsed, -- cgit v1.2.3