Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 2015 15:21:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201282] sys/compat/svr4/svr4_termios.c:193: possible missing breaks ?
Message-ID:  <bug-201282-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: dcb314@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201282-8>