mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-24 09:51:02 +00:00
evdev: Don't initialize struct sigaction with "{ 0 }".
It causes warnings on some platforms, depending on the actual definition of sigaction, and since this is static data, it'll be zero'd out anyhow.
This commit is contained in:
parent
1944556171
commit
93fb710a46
|
@ -198,7 +198,7 @@ static SDL_EVDEV_keyboard_state * kbd_cleanup_state = NULL;
|
||||||
static int kbd_cleanup_sigactions_installed = 0;
|
static int kbd_cleanup_sigactions_installed = 0;
|
||||||
static int kbd_cleanup_atexit_installed = 0;
|
static int kbd_cleanup_atexit_installed = 0;
|
||||||
|
|
||||||
static struct sigaction old_sigaction[NSIG] = { 0 };
|
static struct sigaction old_sigaction[NSIG];
|
||||||
|
|
||||||
static int fatal_signals[] =
|
static int fatal_signals[] =
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue