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.
This commit is contained in:
Joel Sherrill
2014-11-20 17:17:18 -06:00
parent 11925eef78
commit 5dff7425bd

View File

@@ -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