remove unused variables

This commit is contained in:
twinaphex 2020-12-09 22:06:02 +01:00
parent c328b1f94a
commit c2a73a6921
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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;