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 ?*/;
}
Please stop SPAMMING this bugtracker!