mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-19 03:30:49 +00:00
usb-linux: Add missing break statement
cppcheck report: usb-linux.c:661: warning: Redundant assignment of "len" in switch Cc: Hans de Goede <hdegoede@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
b3e5759e09
commit
0225e254ae
@ -659,6 +659,7 @@ static int usb_host_handle_iso_data(USBHostDevice *s, USBPacket *p, int in)
|
|||||||
switch(errno) {
|
switch(errno) {
|
||||||
case ETIMEDOUT:
|
case ETIMEDOUT:
|
||||||
len = USB_RET_NAK;
|
len = USB_RET_NAK;
|
||||||
|
break;
|
||||||
case EPIPE:
|
case EPIPE:
|
||||||
default:
|
default:
|
||||||
len = USB_RET_STALL;
|
len = USB_RET_STALL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user