diff --git a/embed/unix/flash.c b/embed/unix/flash.c index 11595fb1fe..578e490409 100644 --- a/embed/unix/flash.c +++ b/embed/unix/flash.c @@ -59,7 +59,8 @@ static void flash_read(void) { FILE *f = fopen(FLASH_FILE, "rb"); if (f) { - fread(flash_buffer, sizeof(flash_buffer), 1, f); + size_t r = fread(flash_buffer, sizeof(flash_buffer), 1, f); + (void)r; fclose(f); } }