VirtualBox

Changeset 63799 in vbox for trunk


Ignore:
Timestamp:
Sep 12, 2016 1:40:53 PM (8 years ago)
Author:
vboxsync
Message:

Storage/VMDK: Cleanup, get rid of goto... (part 1, build fix)

File:
1 edited

Legend:

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

    r63798 r63799  
    18501850        if (cLine >= VMDK_DESCRIPTOR_LINES_MAX)
    18511851        {
    1852             rc = vdIfError(pImage->pIfError, VERR_VD_VMDK_INVALID_HEADER, RT_SRC_POS, N_("VMDK: descriptor too big in '%s'"), pImage->pszFilename);
     1852            vdIfError(pImage->pIfError, VERR_VD_VMDK_INVALID_HEADER, RT_SRC_POS, N_("VMDK: descriptor too big in '%s'"), pImage->pszFilename);
     1853            rc = VERR_VD_VMDK_INVALID_HEADER;
    18531854            break;
    18541855        }
     
    18711872            pszTmp++;
    18721873        }
     1874
     1875        if (RT_FAILURE(rc))
     1876            break;
     1877
    18731878        /* Get rid of LF character. */
    18741879        if (*pszTmp == '\n')
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