From 6c2189336076353186f99c6d994019fe5754a0b1 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Fri, 3 May 2013 13:33:36 +0000 Subject: [PATCH] Fix compile warning. --- sys/dev/usb/usb_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/usb/usb_device.c b/sys/dev/usb/usb_device.c index b88a0e1cea5d..82bcd7062a77 100644 --- a/sys/dev/usb/usb_device.c +++ b/sys/dev/usb/usb_device.c @@ -838,8 +838,9 @@ usb_config_parse(struct usb_device *udev, uint8_t iface_index, uint8_t cmd) udev->ep_curr = NULL; USB_BUS_UNLOCK(udev->bus); } - +#if (USB_HAVE_FIXED_IFACE == 0) || (USB_HAVE_FIXED_ENDPOINT == 0) done: +#endif if (err) { if (cmd == USB_CFG_ALLOC) { cleanup: