mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
remove unused variables
This commit is contained in:
parent
c328b1f94a
commit
c2a73a6921
@ -991,7 +991,6 @@ static void audio_mixer_mix_mod(float* buffer, size_t num_frames,
|
||||
{
|
||||
int i;
|
||||
float samplef = 0.0f;
|
||||
int samplei = 0;
|
||||
unsigned temp_samples = 0;
|
||||
unsigned buf_free = (unsigned)(num_frames * 2);
|
||||
int* pcm = NULL;
|
||||
|
@ -30537,7 +30537,6 @@ static bool video_driver_find_driver(struct rarch_state *p_rarch)
|
||||
int rdr_minor = hwr->version_minor;
|
||||
const char *rdr_context_name = hw_render_context_name(hwr->context_type, rdr_major, rdr_minor);
|
||||
enum retro_hw_context_type rdr_type = hw_render_context_type(rdr_context_name);
|
||||
video_driver_t *rdr_driver = hw_render_context_driver(rdr_type, rdr_major, rdr_minor);
|
||||
|
||||
p_rarch->current_video = NULL;
|
||||
|
||||
@ -30556,7 +30555,7 @@ static bool video_driver_find_driver(struct rarch_state *p_rarch)
|
||||
rdr_context_name))
|
||||
video_driver_save_as_cached(p_rarch, settings, rdr_context_name);
|
||||
|
||||
p_rarch->current_video = rdr_driver;
|
||||
p_rarch->current_video = hw_render_context_driver(rdr_type, rdr_major, rdr_minor);
|
||||
return true;
|
||||
#else
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user