From 958512a5bd4a0826bd32df7d3740256504ab90d6 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 13 Mar 2014 18:43:52 +0700 Subject: clean up more warnings --- tinyusb/class/hid_host.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tinyusb/class') diff --git a/tinyusb/class/hid_host.c b/tinyusb/class/hid_host.c index fb50a6e03..450695b15 100644 --- a/tinyusb/class/hid_host.c +++ b/tinyusb/class/hid_host.c @@ -207,6 +207,7 @@ tusb_error_t hidh_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t con 0, NULL ), error ); + (void) error; // skip it set idle is failed #if 0 //------------- Get Report Descriptor TODO HID parser -------------// @@ -218,7 +219,7 @@ tusb_error_t hidh_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t con p_desc_hid->wReportLength, report_descriptor ), error ); - // if error in getting report descriptor --> treating like there is none + (void) error; // if error in getting report descriptor --> treating like there is none } #endif -- cgit v1.3.1