Prevent written but unused variable warnings on GCC 4.6 with dummy reads.
[pub/lufa.git] / LUFA / Drivers / USB / Core / AVR8 / Endpoint_AVR8.h
index f14d483..6aff5cc 100644 (file)
                                uint8_t Dummy;
 
                                Dummy = UEDATX;
+
+                               (void)Dummy;
                        }
 
                        /** Reads two bytes from the currently selected endpoint's bank in little endian format, for OUT
 
                                Dummy = UEDATX;
                                Dummy = UEDATX;
+
+                               (void)Dummy;
                        }
 
                        /** Reads four bytes from the currently selected endpoint's bank in little endian format, for OUT
                                Dummy = UEDATX;
                                Dummy = UEDATX;
                                Dummy = UEDATX;
+
+                               (void)Dummy;
                        }
 
                /* External Variables: */