Changeset 5dff7425 in rtems


Ignore:
Timestamp:
Nov 20, 2014, 11:17:18 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
8f73af85
Parents:
11925eef
git-author:
Joel Sherrill <joel.sherrill@…> (11/20/14 23:17:18)
git-committer:
Joel Sherrill <joel.sherrill@…> (11/21/14 19:13:20)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/termios.c

    r11925eef r5dff7425  
    1 /*
     1/**
     2 * @file
    23 * TERMIOS serial line support
    3  *
     4 */
     5
     6/*
    47 *  Author:
    58 *    W. Eric Norum
     
    345348     * call discipline-specific close
    346349     */
    347     sc = rtems_termios_linesw[tty->t_line].l_close(tty);
     350    (void) rtems_termios_linesw[tty->t_line].l_close(tty);
    348351  } else if (last_close) {
    349352    /*
Note: See TracChangeset for help on using the changeset viewer.