diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-13 17:09:13 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-13 17:23:56 -0400 |
commit | 09785a8499b601abc9eac7640060c12eba962b56 (patch) | |
tree | 5ff5f1fa2e7f9927a9e45a7e1ca586bab93d7563 /apps/plugins/iriver_flash.c | |
parent | b94db707fb7a8ace5c8821ea47d85ec48ca48e26 (diff) | |
download | rockbox-09785a8499b601abc9eac7640060c12eba962b56.tar.gz rockbox-09785a8499b601abc9eac7640060c12eba962b56.zip |
fix more yellow
Change-Id: I74bad58707d05ea167169d4315c05eb0cd1c8b7b
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 562a680a60..829b49b31c 100644 --- a/apps/plugins/iriver_flash.c +++ b/apps/plugins/iriver_flash.c | |||
@@ -460,7 +460,7 @@ void show_fatal_error(void) | |||
460 | int flash_bootloader(const char *filename) | 460 | int flash_bootloader(const char *filename) |
461 | { | 461 | { |
462 | char *bootsector; | 462 | char *bootsector; |
463 | int pos, i, len, rc; | 463 | int pos, i, len/*, rc*/; |
464 | unsigned long checksum, sum; | 464 | unsigned long checksum, sum; |
465 | unsigned char *p8; | 465 | unsigned char *p8; |
466 | uint16_t *p16; | 466 | uint16_t *p16; |
@@ -509,7 +509,7 @@ int flash_bootloader(const char *filename) | |||
509 | 509 | ||
510 | /* Erase the bootloader flash section. */ | 510 | /* Erase the bootloader flash section. */ |
511 | for (i = BOOTLOADER_ENTRYPOINT/SEC_SIZE; i < 0x200; i++) | 511 | for (i = BOOTLOADER_ENTRYPOINT/SEC_SIZE; i < 0x200; i++) |
512 | rc = cfi_erase_sector(FB + (SEC_SIZE/2) * i); | 512 | /*rc =*/ cfi_erase_sector(FB + (SEC_SIZE/2) * i); |
513 | 513 | ||
514 | pos = BOOTLOADER_ENTRYPOINT/2; | 514 | pos = BOOTLOADER_ENTRYPOINT/2; |
515 | p16 = (uint16_t *)audiobuf; | 515 | p16 = (uint16_t *)audiobuf; |