shell/main_edit.c: Note return value not checked

Coverity Id 1255320 spotted an unchecked return value.
This commit is contained in:
Joel Sherrill
2014-11-24 17:11:55 -06:00
parent 3211e8e9c0
commit d15202490c

View File

@@ -2213,7 +2213,7 @@ static int rtems_shell_main_edit(int argc, char *argv[])
setvbuf(stdout, NULL, 0, 8192); setvbuf(stdout, NULL, 0, 8192);
#if defined(__linux__) || defined(__rtems__) #if defined(__linux__) || defined(__rtems__)
tcgetattr(0, &orig_tio); (void) tcgetattr(0, &orig_tio);
#if !defined(__rtems__) #if !defined(__rtems__)
cfmakeraw(&tio); cfmakeraw(&tio);
tcsetattr(0, TCSANOW, &tio); tcsetattr(0, TCSANOW, &tio);