Bug 201282 - sys/compat/svr4/svr4_termios.c:193: possible missing breaks ?
Summary: sys/compat/svr4/svr4_termios.c:193: possible missing breaks ?
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-02 15:21 UTC by David Binderman
Modified: 2015-07-02 15:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2015-07-02 15:21:31 UTC
sys/compat/svr4/svr4_termios.c:194]: (warning) Variable 'sp' is reassigned a value before the old one has been used. 'break;' missing?

    getval(B,57600);
    getval(B,115200);
    default: sp = SVR4_B9600;   /* XXX */

I think the getval macro is broken.