summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-16 05:17:21 +0000
committer[email protected] <[email protected]>2012-12-16 05:17:21 +0000
commitbc02dbc501b5533d2580c9e61c3b96722b9fd400 (patch)
treeb88c738bb601c1d9c79ff7c13f3bf4e03d9e129c /components
parent4f7cfcd5e9845d4e8df52e3a4adef9f1035abd56 (diff)
fixed a warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2486 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
-rw-r--r--components/drivers/usb/usbdevice/class/cdc_vcom.c1
1 files changed, 0 insertions, 1 deletions
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);