Prevent written but unused variable warnings on GCC 4.6 with dummy reads.
[pub/lufa.git] / LUFA / Drivers / USB / Core / UC3 / Endpoint_UC3.h
index d38df8b..8bbb605 100644 (file)
                                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
 
                                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
                                Dummy = *(USB_EndpointFIFOPos[USB_SelectedEndpoint]++);
                                Dummy = *(USB_EndpointFIFOPos[USB_SelectedEndpoint]++);
                                Dummy = *(USB_EndpointFIFOPos[USB_SelectedEndpoint]++);
+
+                               (void)Dummy;
                        }
 
                /* External Variables: */