VirtualBox

Changeset 63788 in vbox for trunk


Ignore:
Timestamp:
Sep 9, 2016 10:27:48 PM (8 years ago)
Author:
vboxsync
Message:

Storage: Remove unused/obsolete VDFormats directory (can be resurrected later if required again)

Location:
trunk/src/VBox/Storage
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/Makefile.kmk

    r62482 r63788  
    2424 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
    2525 include $(PATH_SUB_CURRENT)/Debug/Makefile.kmk
    26 
    27  ifndef VBOX_OSE
    28   include $(PATH_SUB_CURRENT)/VDFormats/Makefile.kmk
    29  endif
    3026
    3127 #
  • trunk/src/VBox/Storage/QED.cpp

    r63785 r63788  
    11511151static int qedOpenImage(PQEDIMAGE pImage, unsigned uOpenFlags)
    11521152{
    1153     int rc;
    1154 
    11551153    pImage->uOpenFlags = uOpenFlags;
    1156 
    11571154    pImage->pIfError = VDIfErrorGet(pImage->pVDIfsDisk);
    11581155    pImage->pIfIo = VDIfIoIntGet(pImage->pVDIfsImage);
     
    11631160     * even if opening the image file fails.
    11641161     */
    1165     rc = qedL2TblCacheCreate(pImage);
     1162    int rc = qedL2TblCacheCreate(pImage);
    11661163    if (RT_FAILURE(rc))
    11671164    {
     
    11881185
    11891186    uint64_t cbFile;
    1190     QedHeader Header;
    11911187    rc = vdIfIoIntFileGetSize(pImage->pIfIo, pImage->pStorage, &cbFile);
    11921188    if (RT_FAILURE(rc))
    11931189        goto out;
    1194     if (cbFile > sizeof(Header))
    1195     {
     1190    if (cbFile > sizeof(QedHeader))
     1191    {
     1192        QedHeader Header;
     1193
    11961194        rc = vdIfIoIntFileReadSync(pImage->pIfIo, pImage->pStorage, 0, &Header, sizeof(Header));
    11971195        if (   RT_SUCCESS(rc)
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