From 09785a8499b601abc9eac7640060c12eba962b56 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 13 Oct 2020 17:09:13 -0400 Subject: fix more yellow Change-Id: I74bad58707d05ea167169d4315c05eb0cd1c8b7b --- apps/plugins/iriver_flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/iriver_flash.c') 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) int flash_bootloader(const char *filename) { char *bootsector; - int pos, i, len, rc; + int pos, i, len/*, rc*/; unsigned long checksum, sum; unsigned char *p8; uint16_t *p16; @@ -509,7 +509,7 @@ int flash_bootloader(const char *filename) /* Erase the bootloader flash section. */ for (i = BOOTLOADER_ENTRYPOINT/SEC_SIZE; i < 0x200; i++) - rc = cfi_erase_sector(FB + (SEC_SIZE/2) * i); + /*rc =*/ cfi_erase_sector(FB + (SEC_SIZE/2) * i); pos = BOOTLOADER_ENTRYPOINT/2; p16 = (uint16_t *)audiobuf; -- cgit v1.2.3