mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Silence another Coverity warning
This commit is contained in:
parent
39679ccdce
commit
fa8db9b4d2
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue