mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Remove unused variables
This commit is contained in:
parent
e57c64130a
commit
faa8ddf413
@ -148,7 +148,6 @@ static void *gl_raster_font_init_font(void *data,
|
||||
const char *font_path, float font_size)
|
||||
{
|
||||
gl_raster_t *font = (gl_raster_t*)calloc(1, sizeof(*font));
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (!font)
|
||||
return NULL;
|
||||
@ -196,7 +195,6 @@ error:
|
||||
static void gl_raster_font_free_font(void *data)
|
||||
{
|
||||
gl_raster_t *font = (gl_raster_t*)data;
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (!font)
|
||||
return;
|
||||
|
||||
|
@ -369,8 +369,6 @@ font_data_t *font_driver_init_first(
|
||||
bool ok = false;
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (threading_hint
|
||||
&& video_driver_is_threaded()
|
||||
&& !video_driver_is_hw_context())
|
||||
|
@ -977,7 +977,6 @@ bool video_monitor_fps_statistics(double *refresh_rate,
|
||||
{
|
||||
unsigned i;
|
||||
retro_time_t accum = 0, avg, accum_var = 0;
|
||||
settings_t *settings = config_get_ptr();
|
||||
unsigned samples = MIN(MEASURE_FRAME_TIME_SAMPLES_COUNT,
|
||||
video_driver_frame_time_count);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user