mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
this function is called more than once dont use static
This commit is contained in:
parent
b5138b6122
commit
88b15c1b1d
@ -1228,8 +1228,8 @@ static bool open_devices(udev_input_t *udev,
|
||||
struct udev_list_entry *devs = NULL;
|
||||
struct udev_list_entry *item = NULL;
|
||||
struct udev_enumerate *enumerate = udev_enumerate_new(udev->udev);
|
||||
static int device_keyboard = 0;
|
||||
static int device_mouse = 0;
|
||||
int device_keyboard = 0;
|
||||
int device_mouse = 0;
|
||||
if (!enumerate)
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user