Changeset e00381a in rtems


Ignore:
Timestamp:
Jan 19, 2010, 11:03:24 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
b61ad65
Parents:
e4d7016c
Message:

2010-01-19 Joel Sherrill <joel.sherrill@…>

Coverity Id 28

  • libcsupport/src/termios.c: Set then unconditionally to avoid potential paths where it might be used uninitialized. Recommended by Eric Norum.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    re4d7016c re00381a  
     12010-01-19      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        Coverity Id 28
     4        * libcsupport/src/termios.c: Set then unconditionally to avoid
     5        potential paths where it might be used uninitialized. Recommended by
     6        Eric Norum.
     7
    182010-01-19      Joel Sherrill <joel.sherrill@oarcorp.com>
    29
  • cpukit/libcsupport/src/termios.c

    re4d7016c re00381a  
    976976        else {
    977977                rtems_interval then, now;
    978                 if (!tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])
    979                         then = rtems_clock_get_ticks_since_boot();
     978                then = rtems_clock_get_ticks_since_boot();
    980979                for (;;) {
    981980                        n = (*tty->device.pollRead)(tty->minor);
Note: See TracChangeset for help on using the changeset viewer.