NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/50520: src/sys/compat/svr4/svr4_termios.c:203: possible missing break ?
>Number: 50520
>Category: kern
>Synopsis: src/sys/compat/svr4/svr4_termios.c:203: possible missing break ?
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 10 22:30:00 +0000 2015
>Originator: David Binderman
>Release: cvs dated 20151210
>Organization:
>Environment:
>Description:
[src/sys/compat/svr4/svr4_termios.c:203] -> [src/sys/compat/svr4/svr4_termios.c:204]: (warning) Variable 'sp' is reassigned a value before the old one has been used. 'break;' missing?
Source code is
getval(B,115200);
default: sp = SVR4_B9600; /* XXX */
The getval macro seems to be missing a mention of break.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index