From cf24646fe66065584ae230c8efeecd7b18f4bc06 Mon Sep 17 00:00:00 2001 From: Yuuichi Akagawa Date: Wed, 27 Apr 2016 00:28:57 +0900 Subject: [PATCH] Fix unused variable warning --- usbh_midi.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/usbh_midi.cpp b/usbh_midi.cpp index 5282943a..54231387 100644 --- a/usbh_midi.cpp +++ b/usbh_midi.cpp @@ -263,18 +263,12 @@ void USBH_MIDI::parseConfigDescr( uint8_t addr, uint8_t conf ) return; } -#ifdef DEBUG_USB_HOST - uint8_t bNumInt; -#endif //parsing descriptors while( buf_ptr < buf + total_length ) { descr_length = *( buf_ptr ); descr_type = *( buf_ptr + 1 ); switch( descr_type ) { case USB_DESCRIPTOR_CONFIGURATION : -#ifdef DEBUG_USB_HOST - bNumInt = buf_ptr[4]; -#endif bConfNum = buf_ptr[5]; break; case USB_DESCRIPTOR_INTERFACE :