VirtualBox

Changeset 107423 in vbox


Ignore:
Timestamp:
Jan 6, 2025 4:30:08 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166475
Message:

Storage/RAW.cpp: Fix some parfait warnings, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/RAW.cpp

    r106061 r107423  
    189189            }
    190190
    191             rc = vdIfIoIntFileClose(pImage->pIfIo, pImage->pStorage);
     191            int rc2 = vdIfIoIntFileClose(pImage->pIfIo, pImage->pStorage);
     192            if (RT_FAILURE(rc2) && RT_SUCCESS(rc))
     193                rc = rc2;
    192194            pImage->pStorage = NULL;
    193195        }
     
    365367
    366368    uint32_t        cPrimaryVolDescs        = 0;
    367     uint32_t        cSupplementaryVolDescs  = 0;
    368     uint32_t        cBootRecordVolDescs     = 0;
     369    /*uint32_t        cSupplementaryVolDescs  = 0;*/
     370    /*uint32_t        cBootRecordVolDescs     = 0;*/
    369371    uint32_t        offVolDesc              = 16 * cbSector;
    370372    enum
     
    423425            else if (Buf.VolDescHdr.bDescType == ISO9660VOLDESC_TYPE_SUPPLEMENTARY)
    424426            {
    425                 cSupplementaryVolDescs++;
     427                /*cSupplementaryVolDescs++;*/
    426428                if (Buf.VolDescHdr.bDescVersion != ISO9660SUPVOLDESC_VERSION)
    427429                    return RTERRINFO_LOG_SET_F(pErrInfo, VERR_VFS_UNSUPPORTED_FORMAT,
     
    432434            else if (Buf.VolDescHdr.bDescType == ISO9660VOLDESC_TYPE_BOOT_RECORD)
    433435            {
    434                 cBootRecordVolDescs++;
     436                /*cBootRecordVolDescs++;*/
    435437            }
    436438            else if (Buf.VolDescHdr.bDescType == ISO9660VOLDESC_TYPE_TERMINATOR)
Note: See TracChangeset for help on using the changeset viewer.

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