diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-20 17:17:18 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-21 13:13:20 -0600 |
commit | 5dff7425bd928377f51585d3d8a19a37acdd9773 (patch) | |
tree | 6e1f48356c552d10d0964efe2058ace493cc37b7 /cpukit/libcsupport | |
parent | Delete or rename MIN/MAX macros and defines (diff) | |
download | rtems-5dff7425bd928377f51585d3d8a19a37acdd9773.tar.bz2 |
libcsupport/src/termios.c: Explicitly ignore return value (Coverity ID 1255347)
Coverity spotted that we were ignoring a return value. But ignoring
it is intentional. Adding (void) clearly indicates it is being ignored
explicitly.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/termios.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index f0ecad0130..d12f9c48d5 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -1,6 +1,9 @@ -/* +/** + * @file * TERMIOS serial line support - * + */ + +/* * Author: * W. Eric Norum * Saskatchewan Accelerator Laboratory @@ -344,7 +347,7 @@ rtems_termios_destroy_tty (rtems_termios_tty *tty, void *arg, bool last_close) /* * call discipline-specific close */ - sc = rtems_termios_linesw[tty->t_line].l_close(tty); + (void) rtems_termios_linesw[tty->t_line].l_close(tty); } else if (last_close) { /* * default: just flush output buffer |