diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-10-09 12:54:50 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-10-09 12:54:50 +0000 |
commit | 68e777e16bd252c90d300c02ae88ff27b2fdb70d (patch) | |
tree | 2c14b682012b79b22109f1a22022f43ebdfa800d /LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h | |
parent | a4d67bb6ffea688e8a25d5fd4692e569ca98f2f4 (diff) | |
download | lufa-68e777e16bd252c90d300c02ae88ff27b2fdb70d.tar.gz lufa-68e777e16bd252c90d300c02ae88ff27b2fdb70d.tar.bz2 lufa-68e777e16bd252c90d300c02ae88ff27b2fdb70d.zip |
Prevent written but unused variable warnings on GCC 4.6 with dummy reads.
Diffstat (limited to 'LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h')
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h index d38df8b48..8bbb605b5 100644 --- a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h @@ -654,6 +654,8 @@ uint8_t Dummy; Dummy = *(USB_EndpointFIFOPos[USB_SelectedEndpoint]++); + + (void)Dummy; } /** Reads two bytes from the currently selected endpoint's bank in little endian format, for OUT @@ -727,6 +729,8 @@ Dummy = *(USB_EndpointFIFOPos[USB_SelectedEndpoint]++); Dummy = *(USB_EndpointFIFOPos[USB_SelectedEndpoint]++); + + (void)Dummy; } /** Reads four bytes from the currently selected endpoint's bank in little endian format, for OUT @@ -810,6 +814,8 @@ Dummy = *(USB_EndpointFIFOPos[USB_SelectedEndpoint]++); Dummy = *(USB_EndpointFIFOPos[USB_SelectedEndpoint]++); Dummy = *(USB_EndpointFIFOPos[USB_SelectedEndpoint]++); + + (void)Dummy; } /* External Variables: */ |