Silence warnings

This commit is contained in:
libretroadmin 2024-06-26 15:19:00 +02:00
parent db550e6ffe
commit 58e2e581ec
3 changed files with 5 additions and 6 deletions

View File

@ -784,7 +784,6 @@ bool core_updater_list_parse_network_data(
const char *network_buildbot_url,
const char *data, size_t len)
{
size_t i;
char *tok, *save;
unsigned list_size = 0;
char *data_buf = NULL;

View File

@ -1170,10 +1170,10 @@ static void d3d8_calculate_rect(void *data,
vp.x = 0;
vp.y = 0;
vp.width = width;
vp.height = height;
vp.full_width = width;
vp.full_height = height;
vp.width = *width;
vp.height = *height;
vp.full_width = *width;
vp.full_height = *height;
if (video_scale_integer && !force_full)
video_viewport_get_scaled_integer(&vp,

View File

@ -5195,6 +5195,7 @@ unsigned menu_event(
input_bits_t *p_trigger_input,
bool display_kb)
{
int i;
/* Used for key repeat */
static retro_time_t last_time_us = 0;
static float delay_timer = 0.0f;
@ -5242,7 +5243,6 @@ unsigned menu_event(
RETRO_DEVICE_ID_JOYPAD_A : RETRO_DEVICE_ID_JOYPAD_B;
unsigned ok_current = BIT256_GET_PTR(p_input, menu_ok_btn);
unsigned ok_trigger = ok_current & ~ok_old;
unsigned i = 0;
static unsigned navigation_initial = 0;
unsigned navigation_current = 0;
unsigned navigation_buttons[8] =