Remove unused pointer

This commit is contained in:
twinaphex 2015-12-10 14:52:34 +01:00
parent b0a0a8d9a7
commit abc2315c78

View File

@ -418,7 +418,6 @@ static void rgui_render(void *data)
char title[256], title_buf[256], title_msg[64];
char msg[PATH_MAX_LENGTH], timedate[PATH_MAX_LENGTH];
uint16_t *fb_data = NULL;
menu_handle_t *menu = menu_driver_get_ptr();
settings_t *settings = config_get_ptr();
rgui_t *rgui = (rgui_t*)data;
@ -430,7 +429,7 @@ static void rgui_render(void *data)
title_msg[0] = '\0';
timedate[0] = '\0';
if (!menu || !rgui)
if (!rgui)
return;
if (!rgui->force_redraw)