removed unused variables

This commit is contained in:
Twinaphex 2015-08-05 13:09:11 +02:00
parent b18442dc5a
commit 5bafed71ea
5 changed files with 1 additions and 11 deletions

View File

@ -600,7 +600,6 @@ bool audio_driver_flush(const int16_t *data, size_t samples)
size_t output_size = sizeof(float);
struct resampler_data src_data = {0};
struct rarch_dsp_data dsp_data = {0};
global_t *global = global_get_ptr();
driver_t *driver = driver_get_ptr();
const audio_driver_t *audio = driver ?
(const audio_driver_t*)driver->audio : NULL;

View File

@ -1528,7 +1528,6 @@ static bool gl_frame(void *data, const void *frame,
gl_t *gl = (gl_t*)data;
driver_t *driver = driver_get_ptr();
settings_t *settings = config_get_ptr();
global_t *global = global_get_ptr();
const struct font_renderer *font_driver = driver ? driver->font_osd_driver : NULL;
RARCH_PERFORMANCE_INIT(frame_run);

View File

@ -374,7 +374,6 @@ static void rgui_render(void)
menu_framebuf_t *frame_buf = menu_display_fb_get_ptr();
menu_navigation_t *nav = menu_navigation_get_ptr();
driver_t *driver = driver_get_ptr();
global_t *global = global_get_ptr();
settings_t *settings = config_get_ptr();
menu_animation_t *anim = menu_animation_get_ptr();
uint64_t *frame_count = video_driver_get_frame_count();

View File

@ -352,7 +352,6 @@ int menu_iterate(retro_input_t input,
{
int32_t ret = 0;
unsigned action = 0;
global_t *global = global_get_ptr();
menu_display_t *disp = menu_display_get_ptr();
menu_input_t *menu_input = menu_input_get_ptr();

View File

@ -62,14 +62,8 @@ static void rarch_disable_ui(void)
static void rarch_draw(void)
{
global_t *global = global_get_ptr();
int ret = 0;
bool iterate = iterate_observer && !(rarch_main_is_paused());
if (iterate)
{
ret = rarch_main_iterate();
}
int ret = iterate ? rarch_main_iterate() : 0;
rarch_main_data_iterate();