VirtualBox

Opened 8 years ago

Closed 8 years ago

#15523 closed defect (invalid)

vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/ath5k_desc.c: 2 * missing break ?

Reported by: dcb Owned by:
Component: other Version: VirtualBox 5.0.22
Keywords: Cc:
Guest type: other Host type: other

Description

[vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/ath5k_desc.c:106] -> [vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/ath5k_desc.c:108]: (warning) Variable 'frame_type' is reassigned a value before the old one has been used. 'break;' missing? [vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/ath5k_desc.c:108] -> [vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/ath5k_desc.c:110]: (warning) Variable 'frame_type' is reassigned a value before the old one has been used. 'break;' missing?

Source code is

switch (type) { case AR5K_PKT_TYPE_BEACON: case AR5K_PKT_TYPE_PROBE_RESP:

frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_NO_DELAY;

case AR5K_PKT_TYPE_PIFS:

frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_PIFS;

default:

frame_type = type /*<< 2 ?*/;

}

Change History (1)

comment:1 by Frank Mehnert, 8 years ago

Resolution: invalid
Status: newclosed

Please stop SPAMMING this bugtracker!

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use