mirror of
https://github.com/libretro/RetroArch
synced 2025-02-05 06:40:07 +00:00
Silence another Coverity warning
This commit is contained in:
parent
39679ccdce
commit
fa8db9b4d2
@ -39,7 +39,9 @@ void linux_terminal_restore_input(void)
|
||||
if (oldKbmd == 0xffff)
|
||||
return;
|
||||
|
||||
ioctl(0, KDSKBMODE, oldKbmd);
|
||||
if (ioctl(0, KDSKBMODE, oldKbmd) < 0)
|
||||
return;
|
||||
|
||||
linux_terminal_flush();
|
||||
oldKbmd = 0xffff;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user