From bc02dbc501b5533d2580c9e61c3b96722b9fd400 Mon Sep 17 00:00:00 2001 From: "sc943313837@gmail.com" Date: Sun, 16 Dec 2012 05:17:21 +0000 Subject: [PATCH] fixed a warning git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2486 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/drivers/usb/usbdevice/class/cdc_vcom.c | 1 - 1 file changed, 1 deletion(-) diff --git a/components/drivers/usb/usbdevice/class/cdc_vcom.c b/components/drivers/usb/usbdevice/class/cdc_vcom.c index 088c1b18e2..740aa86afd 100644 --- a/components/drivers/usb/usbdevice/class/cdc_vcom.c +++ b/components/drivers/usb/usbdevice/class/cdc_vcom.c @@ -226,7 +226,6 @@ static rt_err_t _cdc_get_line_coding(udevice_t device, ureq_t setup) { struct ucdc_line_coding data; rt_uint16_t size; - rt_err_t ret; RT_ASSERT(device != RT_NULL); RT_ASSERT(setup != RT_NULL); -- GitLab