Skip to content

Commit 3b6aef2

Browse files
committed
Silence 'value stored to variable is never read' warning
1 parent 2f1a035 commit 3b6aef2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

input/input_driver.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4217,7 +4217,7 @@ static void input_keys_pressed(
42174217
bool libretro_hotkey_pressed = false;
42184218

42194219
/* Default */
4220-
block_hotkey[i] = true;
4220+
block_hotkey[i] = true;
42214221

42224222
/* No 'enable_hotkey' in joypad */
42234223
if (!libretro_hotkey_set)
@@ -4300,7 +4300,6 @@ static void input_keys_pressed(
43004300
port, RETRO_DEVICE_JOYPAD, 0,
43014301
i))
43024302
{
4303-
libretro_hotkey_pressed = true;
43044303

43054304
/* Only block if keyboard is not pressed */
43064305
if (!keyboard_hotkey_pressed)

0 commit comments

Comments
 (0)