diff options
Diffstat (limited to 'apps/plugins/iriver_flash.c')
-rw-r--r-- | apps/plugins/iriver_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c index 2e27a9f748..562a680a60 100644 --- a/apps/plugins/iriver_flash.c +++ b/apps/plugins/iriver_flash.c | |||
@@ -334,7 +334,7 @@ static int get_section_address(int section) | |||
334 | int flash_rockbox(const char *filename, int section) | 334 | int flash_rockbox(const char *filename, int section) |
335 | { | 335 | { |
336 | struct flash_header hdr; | 336 | struct flash_header hdr; |
337 | int pos, i, len, rc; | 337 | int pos, i, len/*, rc */; |
338 | unsigned long checksum, sum; | 338 | unsigned long checksum, sum; |
339 | unsigned char *p8; | 339 | unsigned char *p8; |
340 | uint16_t *p16; | 340 | uint16_t *p16; |
@@ -390,7 +390,7 @@ int flash_rockbox(const char *filename, int section) | |||
390 | rb->lcd_putsf(0, 3, "Erasing... %d%%", (i+SEC_SIZE)*100/len); | 390 | rb->lcd_putsf(0, 3, "Erasing... %d%%", (i+SEC_SIZE)*100/len); |
391 | rb->lcd_update(); | 391 | rb->lcd_update(); |
392 | 392 | ||
393 | rc = cfi_erase_sector(FB + (i + pos)/2); | 393 | /*rc = */cfi_erase_sector(FB + (i + pos)/2); |
394 | } | 394 | } |
395 | 395 | ||
396 | /* Write the magic and size. */ | 396 | /* Write the magic and size. */ |