mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-30 08:02:22 +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