NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-acorn32/50514: src/sys/arch/acorn32/podulebus/esc.c:1447: missing break ?
>Number: 50514
>Category: port-acorn32
>Synopsis: src/sys/arch/acorn32/podulebus/esc.c:1447: missing break ?
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-acorn32-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 10 22:05:00 +0000 2015
>Originator: David Binderman
>Release: cvs dated 20151210
>Organization:
>Environment:
>Description:
[src/sys/arch/acorn32/podulebus/esc.c:1447] -> [src/sys/arch/acorn32/podulebus/esc.c:1449]: (warning) Variable 'state' is reassigned a value before the old one has been used. 'break;' missing?
Source code is
case 0x00: /* COMMAND COMPLETE */
nexus->state = ESC_NS_DONE;
case 0x04: /* DISCONNECT */
nexus->state = ESC_NS_DISCONNECTING;
break;
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index