fat: Fix warning with fat_file_sector_size with (MAX_VARIABLE_LOG_SECTOR && HAVE_MULTIVOLUME)

Change-Id: I9bc7206b8121645688f5901ab448eba4077cba92
This commit is contained in:
Solomon Peachy 2025-09-16 16:48:08 -04:00
parent 9644bb5d9d
commit 5c38669476
3 changed files with 6 additions and 6 deletions

View file

@ -2035,7 +2035,7 @@ static int free_cluster_chain(struct bpb *fat_bpb, long startcluster)
/** File entity functions **/
#if defined(MAX_VARIABLE_LOG_SECTOR)
int fat_file_sector_size(const struct fat_file *file)
int fat_file_sector_size(IF_MV_NONVOID(const struct fat_file *file))
{
const struct bpb *fat_bpb = FAT_BPB(file->volume);