mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 21:35:25 +00:00
Silence warnings
This commit is contained in:
parent
db550e6ffe
commit
58e2e581ec
@ -784,7 +784,6 @@ bool core_updater_list_parse_network_data(
|
|||||||
const char *network_buildbot_url,
|
const char *network_buildbot_url,
|
||||||
const char *data, size_t len)
|
const char *data, size_t len)
|
||||||
{
|
{
|
||||||
size_t i;
|
|
||||||
char *tok, *save;
|
char *tok, *save;
|
||||||
unsigned list_size = 0;
|
unsigned list_size = 0;
|
||||||
char *data_buf = NULL;
|
char *data_buf = NULL;
|
||||||
|
@ -1170,10 +1170,10 @@ static void d3d8_calculate_rect(void *data,
|
|||||||
|
|
||||||
vp.x = 0;
|
vp.x = 0;
|
||||||
vp.y = 0;
|
vp.y = 0;
|
||||||
vp.width = width;
|
vp.width = *width;
|
||||||
vp.height = height;
|
vp.height = *height;
|
||||||
vp.full_width = width;
|
vp.full_width = *width;
|
||||||
vp.full_height = height;
|
vp.full_height = *height;
|
||||||
|
|
||||||
if (video_scale_integer && !force_full)
|
if (video_scale_integer && !force_full)
|
||||||
video_viewport_get_scaled_integer(&vp,
|
video_viewport_get_scaled_integer(&vp,
|
||||||
|
@ -5195,6 +5195,7 @@ unsigned menu_event(
|
|||||||
input_bits_t *p_trigger_input,
|
input_bits_t *p_trigger_input,
|
||||||
bool display_kb)
|
bool display_kb)
|
||||||
{
|
{
|
||||||
|
int i;
|
||||||
/* Used for key repeat */
|
/* Used for key repeat */
|
||||||
static retro_time_t last_time_us = 0;
|
static retro_time_t last_time_us = 0;
|
||||||
static float delay_timer = 0.0f;
|
static float delay_timer = 0.0f;
|
||||||
@ -5242,7 +5243,6 @@ unsigned menu_event(
|
|||||||
RETRO_DEVICE_ID_JOYPAD_A : RETRO_DEVICE_ID_JOYPAD_B;
|
RETRO_DEVICE_ID_JOYPAD_A : RETRO_DEVICE_ID_JOYPAD_B;
|
||||||
unsigned ok_current = BIT256_GET_PTR(p_input, menu_ok_btn);
|
unsigned ok_current = BIT256_GET_PTR(p_input, menu_ok_btn);
|
||||||
unsigned ok_trigger = ok_current & ~ok_old;
|
unsigned ok_trigger = ok_current & ~ok_old;
|
||||||
unsigned i = 0;
|
|
||||||
static unsigned navigation_initial = 0;
|
static unsigned navigation_initial = 0;
|
||||||
unsigned navigation_current = 0;
|
unsigned navigation_current = 0;
|
||||||
unsigned navigation_buttons[8] =
|
unsigned navigation_buttons[8] =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user