Get rid of unused variables

This commit is contained in:
Twinaphex 2017-04-23 14:33:02 +02:00
parent 7ea0528c6b
commit d76c09fd08

View File

@ -1677,7 +1677,6 @@ static void mui_preswitch_tabs(mui_handle_t *mui, unsigned action)
{ {
size_t stack_size = 0; size_t stack_size = 0;
file_list_t *menu_stack = NULL; file_list_t *menu_stack = NULL;
size_t idx = menu_navigation_get_selection();
if (!mui) if (!mui)
return; return;
@ -2002,7 +2001,6 @@ static void mui_list_insert(void *userdata,
int i = (int)list_size; int i = (int)list_size;
mui_node_t *node = NULL; mui_node_t *node = NULL;
mui_handle_t *mui = (mui_handle_t*)userdata; mui_handle_t *mui = (mui_handle_t*)userdata;
size_t selection = menu_navigation_get_selection();
if (!mui || !list) if (!mui || !list)
return; return;