[Bug 201282] sys/compat/svr4/svr4_termios.c:193: possible missing breaks ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 2 15:21:31 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201282

            Bug ID: 201282
           Summary: sys/compat/svr4/svr4_termios.c:193: possible missing
                    breaks ?
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: dcb314 at hotmail.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list