mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
shell/main_edit.c: Note return value not checked
Coverity Id 1255320 spotted an unchecked return value.
This commit is contained in:
1 parent
3211e8e9c0
commit
d15202490c
1 file changed
+1
-1
@@ -2213,7 +2213,7 @@ static int rtems_shell_main_edit(int argc, char *argv[])
|
||||
setvbuf(stdout, NULL, 0, 8192);
|
||||
|
||||
#if defined(__linux__) || defined(__rtems__)
|
||||
tcgetattr(0, &orig_tio);
|
||||
(void) tcgetattr(0, &orig_tio);
|
||||
#if !defined(__rtems__)
|
||||
cfmakeraw(&tio);
|
||||
tcsetattr(0, TCSANOW, &tio);
|
||||
|
||||
Reference in new issue
Block a user