diff --git a/menu/drivers/glui.c b/menu/drivers/glui.c index 7e26ee5139..16507ff3a8 100644 --- a/menu/drivers/glui.c +++ b/menu/drivers/glui.c @@ -602,8 +602,6 @@ static void glui_draw_cursor(gl_t *gl, glui_handle_t *glui, static size_t glui_list_get_size(void *data, menu_list_type_t type) { size_t list_size = 0; - menu_handle_t *menu = (menu_handle_t*)data; - glui_handle_t *glui = menu ? (glui_handle_t*)menu->userdata : NULL; /*switch (type) { @@ -686,6 +684,9 @@ static void glui_frame(void) const uint32_t activetab_color = 0x0096f2ff; const uint32_t passivetab_color = 0x9e9e9eff; + (void)passivetab_color; + (void)activetab_color; + if (!menu || !menu->userdata) return; @@ -1166,7 +1167,6 @@ static void glui_list_cache(menu_list_type_t type, unsigned action) glui_handle_t *glui = NULL; menu_handle_t *menu = menu_driver_get_ptr(); file_list_t *menu_stack = menu_entries_get_menu_stack_ptr(0); - file_list_t *selection_buf = menu_entries_get_selection_buf_ptr(0); if (!menu) return; diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 1f6f6a0b88..4112b3f15e 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -482,7 +482,6 @@ rarch_setting_t *menu_setting_find(const char *label) int menu_setting_set_flags(rarch_setting_t *setting) { - uint64_t flags = menu_setting_get_flags(setting); if (!setting) return 0;