NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: standards/50519: src/sys/compat/svr4_32/svr4_32_termios.c:204: possible missing break in switch ?
The following reply was made to PR standards/50519; it has been noted by GNATS.
From: Klaus Klein <kleink%kleink.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: standards/50519: src/sys/compat/svr4_32/svr4_32_termios.c:204: possible missing break in switch ?
Date: Tue, 15 Dec 2015 18:58:23 +0100
> [src/sys/compat/svr4_32/svr4_32_termios.c:204] -> =
[src/sys/compat/svr4_32/svr4_32_termios.c:205]: (warning) Variable 'sp' =
is reassigned a value before the old one has been used. 'break;' =
missing?
>=20
> Source code is
>=20
> getval(B,115200);
> default: sp =3D SVR4_B9600; /* XXX */
> }
>=20
> The getval macro doesn't seem to mention a break.
FWIW, the non-32-bit emulation (src/sys/compat/svr4/svr4_termios.c) has =
the same issue.
- Klaus=
Home |
Main Index |
Thread Index |
Old Index