diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-13 14:43:29 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-13 15:48:31 -0400 |
commit | b94db707fb7a8ace5c8821ea47d85ec48ca48e26 (patch) | |
tree | 9b0128bd96c8765a8e7abdbe9062e6bcd397da69 /apps/plugins | |
parent | 431caa4311c13a0937ae60ac225e780c0a0670b9 (diff) | |
download | rockbox-b94db707fb.tar.gz rockbox-b94db707fb.zip |
Fix more warnings.
Change-Id: Ib3a9fc622a46b1fc72e94dcbc6d29d2e430cd81b
Diffstat (limited to 'apps/plugins')
-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) int flash_rockbox(const char *filename, int section) { struct flash_header hdr; - int pos, i, len, rc; + int pos, i, len/*, rc */; unsigned long checksum, sum; unsigned char *p8; uint16_t *p16; @@ -390,7 +390,7 @@ int flash_rockbox(const char *filename, int section) rb->lcd_putsf(0, 3, "Erasing... %d%%", (i+SEC_SIZE)*100/len); rb->lcd_update(); - rc = cfi_erase_sector(FB + (i + pos)/2); + /*rc = */cfi_erase_sector(FB + (i + pos)/2); } /* Write the magic and size. */ |