From 6f4e53e454da494595b1df5470fd9cf1df6e24ba Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 8 Jul 2015 22:04:37 +0200 Subject: [PATCH] Remove unused variables --- gfx/drivers/gx_gfx.c | 1 - runloop_data.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/gfx/drivers/gx_gfx.c b/gfx/drivers/gx_gfx.c index fda6fde44a..407a0ba320 100644 --- a/gfx/drivers/gx_gfx.c +++ b/gfx/drivers/gx_gfx.c @@ -473,7 +473,6 @@ static void setup_video_mode(void *data) OSInitThreadQueue(&g_video_cond); VIDEO_GetPreferredMode(&gx_mode); - global_t *global = global_get_ptr(); gx_set_video_mode(data, 0, 0, true); } diff --git a/runloop_data.c b/runloop_data.c index 5b14cc30ed..d39ee0220f 100644 --- a/runloop_data.c +++ b/runloop_data.c @@ -301,7 +301,6 @@ void rarch_main_data_clear_state(void) void rarch_main_data_init_queues(void) { - data_runloop_t *runloop = rarch_main_data_get_ptr(); #ifdef HAVE_NETWORKING rarch_main_data_http_init_msg_queue(); #endif @@ -318,7 +317,6 @@ void rarch_main_data_msg_queue_push(unsigned type, { char new_msg[PATH_MAX_LENGTH] = {0}; msg_queue_t *queue = NULL; - data_runloop_t *runloop = rarch_main_data_get_ptr(); switch(type) {