Kill unused variables

This commit is contained in:
Twinaphex 2015-05-09 16:06:05 +02:00
parent 9b9e65abf3
commit f08db710ac
4 changed files with 4 additions and 8 deletions

View File

@ -970,7 +970,6 @@ static void gl_frame_fbo(gl_t *gl,
GLfloat xamt, yamt;
unsigned fbo_tex_info_cnt = 0;
GLfloat fbo_tex_coords[8] = {0.0f};
runloop_t *runloop = rarch_main_get_ptr();
global_t *global = global_get_ptr();
uint64_t frame_count = video_driver_get_frame_count();

View File

@ -235,7 +235,6 @@ bool gfx_ctx_has_windowed(void *data)
bool gfx_ctx_check_window(void *data, bool *quit, bool *resize,
unsigned *width, unsigned *height)
{
runloop_t *runloop = rarch_main_get_ptr();
const gfx_ctx_driver_t *ctx = gfx_ctx_get_ptr();
uint64_t frame_count = video_driver_get_frame_count();

View File

@ -124,7 +124,6 @@ static void video_frame(const void *data, unsigned width,
driver_t *driver = driver_get_ptr();
global_t *global = global_get_ptr();
settings_t *settings = config_get_ptr();
runloop_t *runloop = rarch_main_get_ptr();
if (!driver->video_active)
return;

View File

@ -1000,12 +1000,11 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
{
menu_entry_t entry;
float icon_x, icon_y;
GLuint texture_switch = 0;
char name[PATH_MAX_LENGTH], value[PATH_MAX_LENGTH];
GLuint icon = 0;
xmb_node_t *node = (xmb_node_t*)file_list_get_userdata_at_offset(list, i);
runloop_t *runloop = rarch_main_get_ptr();
menu_handle_t *menu = menu_driver_get_ptr();
GLuint texture_switch = 0;
GLuint icon = 0;
xmb_node_t * node = (xmb_node_t*)file_list_get_userdata_at_offset(list, i);
menu_handle_t *menu = menu_driver_get_ptr();
if (!node)
continue;