diff options
Diffstat (limited to 'firmware/common/disk.c')
-rw-r--r-- | firmware/common/disk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c index 32b15b8857..ceb486ea1d 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c @@ -78,9 +78,11 @@ struct partinfo* disk_init(IF_MV_NONVOID(int drive)) return NULL; /* out of space in table */ #else struct partinfo* pinfo = part; + int drive; + (void)drive; #endif - storage_read_sectors(IF_MV2(drive,) 0,1, §or); + storage_read_sectors(drive, 0,1, §or); /* check that the boot sector is initialized */ if ( (sector[510] != 0x55) || (sector[511] != 0xaa)) { |