summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-08-11 18:07:14 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-08-11 18:07:14 +0000
commit61cf78337145759bed8f426d31c670ba4bb39bd8 (patch)
tree12d2adc7735658f8ed7ee70cc2c1c6acbaabddd8
parented73a3274ca4bb3dec0cf067732bcdf4fe1a7d62 (diff)
downloadrockbox-61cf78337145759bed8f426d31c670ba4bb39bd8.tar.gz
rockbox-61cf78337145759bed8f426d31c670ba4bb39bd8.tar.bz2
rockbox-61cf78337145759bed8f426d31c670ba4bb39bd8.zip
Fix "statement with no effect" warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22256 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/usbstack/usb_storage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c
index a6c960422d..94f4f71dbb 100644
--- a/firmware/usbstack/usb_storage.c
+++ b/firmware/usbstack/usb_storage.c
@@ -610,7 +610,6 @@ void usb_storage_transfer_complete(int ep,int dir,int status,int length)
case RECEIVING_TIME:
tm.tm_year=(tb.transfer_buffer[0]<<8)+tb.transfer_buffer[1];
tm.tm_yday=(tb.transfer_buffer[2]<<8)+tb.transfer_buffer[3];
- tb.transfer_buffer[8];
tm.tm_hour=tb.transfer_buffer[5];
tm.tm_min=tb.transfer_buffer[6];
tm.tm_sec=tb.transfer_buffer[7];