Remove unused variables

This commit is contained in:
twinaphex 2021-03-15 09:32:47 +01:00
parent 514edf8b06
commit b8c51ed040
4 changed files with 1 additions and 5 deletions

View File

@ -8835,10 +8835,9 @@ static int materialui_list_push(void *data, void *userdata,
{
int ret = -1;
core_info_list_t *list = NULL;
menu_handle_t *menu = (menu_handle_t*)data;
materialui_handle_t *mui = (materialui_handle_t*)userdata;
if (!menu || !mui)
if (!mui)
return ret;
switch (type)

View File

@ -1422,7 +1422,6 @@ static int ozone_list_push(void *data, void *userdata,
{
int ret = -1;
core_info_list_t *list = NULL;
menu_handle_t *menu = (menu_handle_t*)data;
switch (type)
{

View File

@ -4123,7 +4123,6 @@ static int stripes_list_push(void *data, void *userdata,
int ret = -1;
int i = 0;
core_info_list_t *list = NULL;
menu_handle_t *menu = (menu_handle_t*)data;
switch (type)
{

View File

@ -6661,7 +6661,6 @@ static int xmb_list_push(void *data, void *userdata,
{
int ret = -1;
core_info_list_t *list = NULL;
menu_handle_t *menu = (menu_handle_t*)data;
settings_t *settings = config_get_ptr();
bool menu_show_load_core = settings->bools.menu_show_load_core;
bool menu_show_load_content = settings->bools.menu_show_load_content;