From 5dff7425bd928377f51585d3d8a19a37acdd9773 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 20 Nov 2014 17:17:18 -0600 Subject: 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. --- cpukit/libcsupport/src/termios.c | 9 ++++++--- 1 file 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 -- cgit v1.2.3