mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
unix: fix unused-result warning
This commit is contained in:
parent
ee7d260d2f
commit
2e3b8336c2
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user