VirtualBox

Changeset 60954 in vbox for trunk


Ignore:
Timestamp:
May 12, 2016 2:46:47 PM (9 years ago)
Author:
vboxsync
Message:

vbox-img.cpp: Uninitialized variable hVolNext (oversight not helped by C style variable declaraction rule conformance).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/testcase/vbox-img.cpp

    r59404 r60954  
    12831283                    {
    12841284                        RTVFSFILE hVfsFile;
    1285                         RTVFS hVfs;
    1286                         RTDVMVOLUME hVolNext;
    1287 
    12881285                        rc = RTDvmVolumeCreateVfsFile(hVol, &hVfsFile);
    12891286                        if (RT_FAILURE(rc))
     
    12911288
    12921289                        /* Try to detect the filesystem in this volume. */
     1290                        RTVFS hVfs;
    12931291                        rc = RTFilesystemVfsFromFile(hVfsFile, &hVfs);
    12941292                        if (rc == VERR_NOT_SUPPORTED)
     
    13131311                        }
    13141312
     1313                        RTDVMVOLUME hVolNext = NIL_RTDVMVOLUME;
    13151314                        if (RT_SUCCESS(rc))
    13161315                            rc = RTDvmMapQueryNextVolume(hDvm, hVol, &hVolNext);
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