From ddff980161b925f844da16cec1141efc5ed87c81 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 5 Dec 2015 09:14:55 +0100 Subject: [PATCH] Remove unused variables --- gfx/video_driver.c | 1 - menu/menu.c | 1 - retroarch.c | 1 - 3 files changed, 3 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 9e4cdbef86..ba1a2f9393 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -230,7 +230,6 @@ const char* config_get_video_driver_options(void) static bool find_video_driver(void) { int i; - driver_t *driver = driver_get_ptr(); settings_t *settings = config_get_ptr(); #if defined(HAVE_OPENGL) && defined(HAVE_FBO) diff --git a/menu/menu.c b/menu/menu.c index 06fe1a87cb..db8f13ac32 100644 --- a/menu/menu.c +++ b/menu/menu.c @@ -97,7 +97,6 @@ bool menu_load_content(enum rarch_core_type type) { bool msg_force = true; menu_handle_t *menu = menu_driver_get_ptr(); - driver_t *driver = driver_get_ptr(); char *fullpath = NULL; runloop_ctl(RUNLOOP_CTL_GET_CONTENT_PATH, &fullpath); diff --git a/retroarch.c b/retroarch.c index b104d0aab5..6ba1a3c7e5 100644 --- a/retroarch.c +++ b/retroarch.c @@ -1334,7 +1334,6 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data) static bool rarch_error_on_init = false; static bool rarch_block_config_read = false; static bool rarch_force_fullscreen = false; - driver_t *driver = driver_get_ptr(); global_t *global = global_get_ptr(); settings_t *settings = config_get_ptr();