Remove alot of unused variables

This commit is contained in:
twinaphex 2016-01-19 23:46:09 +01:00
parent 1eac61e9a0
commit 2b8520f7ab
4 changed files with 0 additions and 6 deletions

View File

@ -526,8 +526,6 @@ static void event_set_savestate_auto_index(void)
static bool event_init_content(void)
{
global_t *global = global_get_ptr();
/* No content to be loaded for dummy core,
* just successfully exit. */
if (rarch_ctl(RARCH_CTL_IS_DUMMY_CORE, NULL))

View File

@ -1291,7 +1291,6 @@ static int mui_list_push(void *data, void *userdata,
int ret = -1;
core_info_list_t *list = NULL;
menu_handle_t *menu = (menu_handle_t*)data;
global_t *global = global_get_ptr();
(void)userdata;

View File

@ -2561,7 +2561,6 @@ static int xmb_list_push(void *data, void *userdata, menu_displaylist_info_t *in
{
int ret = -1;
menu_handle_t *menu = (menu_handle_t*)data;
global_t *global = global_get_ptr();
switch (type)
{

View File

@ -1804,7 +1804,6 @@ static int menu_displaylist_parse_load_content_settings(menu_displaylist_info_t
static int menu_displaylist_parse_horizontal_content_actions(menu_displaylist_info_t *info)
{
menu_handle_t *menu = menu_driver_get_ptr();
global_t *global = global_get_ptr();
settings_t *settings = config_get_ptr();
unsigned idx = rpl_entry_selection_ptr;
const char *label = NULL;
@ -2429,7 +2428,6 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
struct video_shader *shader = NULL;
#endif
menu_handle_t *menu = menu_driver_get_ptr();
global_t *global = global_get_ptr();
settings_t *settings = config_get_ptr();
rarch_system_info_t *system = NULL;
core_info_list_t *list = NULL;