summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-24 17:11:55 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-25 12:57:09 -0600
commitd15202490cf4eb3d4e0762bda99c7156beef5cb7 (patch)
tree85bca1fa8bb1691b88dd9dccf2e5bcf9b0c59690
parentcpukit/libcsupport/src/pwdgrp.c: Check return value (diff)
downloadrtems-d15202490cf4eb3d4e0762bda99c7156beef5cb7.tar.bz2
shell/main_edit.c: Note return value not checked
Coverity Id 1255320 spotted an unchecked return value.
-rw-r--r--cpukit/libmisc/shell/main_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/main_edit.c b/cpukit/libmisc/shell/main_edit.c
index a73bc0d2c0..212b212987 100644
--- a/cpukit/libmisc/shell/main_edit.c
+++ b/cpukit/libmisc/shell/main_edit.c
@@ -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);