mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 12:40:03 +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)
|
if (oldKbmd == 0xffff)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ioctl(0, KDSKBMODE, oldKbmd);
|
if (ioctl(0, KDSKBMODE, oldKbmd) < 0)
|
||||||
|
return;
|
||||||
|
|
||||||
linux_terminal_flush();
|
linux_terminal_flush();
|
||||||
oldKbmd = 0xffff;
|
oldKbmd = 0xffff;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user