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)
|
const char *font_path, float font_size)
|
||||||
{
|
{
|
||||||
gl_raster_t *font = (gl_raster_t*)calloc(1, sizeof(*font));
|
gl_raster_t *font = (gl_raster_t*)calloc(1, sizeof(*font));
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
|
|
||||||
if (!font)
|
if (!font)
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -196,7 +195,6 @@ error:
|
|||||||
static void gl_raster_font_free_font(void *data)
|
static void gl_raster_font_free_font(void *data)
|
||||||
{
|
{
|
||||||
gl_raster_t *font = (gl_raster_t*)data;
|
gl_raster_t *font = (gl_raster_t*)data;
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
if (!font)
|
if (!font)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -369,8 +369,6 @@ font_data_t *font_driver_init_first(
|
|||||||
bool ok = false;
|
bool ok = false;
|
||||||
|
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
|
|
||||||
if (threading_hint
|
if (threading_hint
|
||||||
&& video_driver_is_threaded()
|
&& video_driver_is_threaded()
|
||||||
&& !video_driver_is_hw_context())
|
&& !video_driver_is_hw_context())
|
||||||
|
@ -977,7 +977,6 @@ bool video_monitor_fps_statistics(double *refresh_rate,
|
|||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
retro_time_t accum = 0, avg, accum_var = 0;
|
retro_time_t accum = 0, avg, accum_var = 0;
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
unsigned samples = MIN(MEASURE_FRAME_TIME_SAMPLES_COUNT,
|
unsigned samples = MIN(MEASURE_FRAME_TIME_SAMPLES_COUNT,
|
||||||
video_driver_frame_time_count);
|
video_driver_frame_time_count);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user