VirtualBox

Changeset 66690 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Apr 27, 2017 2:45:15 PM (8 years ago)
Author:
vboxsync
Message:

fatvfs.cpp: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/filesystem/fatvfs.cpp

    r66689 r66690  
    42464246    AssertMsgReturn(cSectorsPerCluster == 0 || (cSectorsPerCluster <= 128 && RT_IS_POWER_OF_TWO(cSectorsPerCluster)),
    42474247                    ("cSectorsPerCluster=%#x\n", cSectorsPerCluster), VERR_INVALID_PARAMETER);
    4248     AssertMsgReturn(bMedia == 0 || (FAT_ID_IS_VALID(bMedia) && FATBPB_MEDIA_IS_VALID(bMedia)),
    4249                     ("bMedia=%#x\n"), VERR_INVALID_PARAMETER);
     4248    if (bMedia != 0)
     4249    {
     4250        AssertMsgReturn(FAT_ID_IS_VALID(bMedia),       ("bMedia=%#x\n"), VERR_INVALID_PARAMETER);
     4251        AssertMsgReturn(FATBPB_MEDIA_IS_VALID(bMedia), ("bMedia=%#x\n"), VERR_INVALID_PARAMETER);
     4252    }
    42504253    AssertReturn(!(fFlags & ~RTFSFATVOL_FMT_F_VALID_MASK), VERR_INVALID_FLAGS);
    42514254    AssertReturn(enmFatType >= RTFSFATTYPE_INVALID && enmFatType < RTFSFATTYPE_END, VERR_INVALID_PARAMETER);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette