VirtualBox

Changeset 27367 in vbox for trunk


Ignore:
Timestamp:
Mar 15, 2010 3:10:45 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58812
Message:

VBoxHDD: -Wshadow warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VBoxHDD.cpp

    r27359 r27367  
    17051705        {
    17061706            /* Error detected, but image opened. Close and delete image. */
    1707             int rc2;
    17081707            rc2 = pImage->Backend->pfnClose(pImage->pvBackendData, true);
    17091708            AssertRC(rc2);
     
    29342933            vdRemoveImageFromList(pDisk, pImage);
    29352934            /* Close image. */
    2936             int rc2 = pImage->Backend->pfnClose(pImage->pvBackendData, false);
     2935            rc2 = pImage->Backend->pfnClose(pImage->pvBackendData, false);
    29372936            if (RT_FAILURE(rc2) && RT_SUCCESS(rc))
    29382937                rc = rc2;
     
    33933392
    33943393                /* Cache new geometry values in any case. */
    3395                 int rc2 = pImage->Backend->pfnGetPCHSGeometry(pImage->pvBackendData,
    3396                                                               &pDisk->PCHSGeometry);
     3394                rc2 = pImage->Backend->pfnGetPCHSGeometry(pImage->pvBackendData,
     3395                                                          &pDisk->PCHSGeometry);
    33973396                if (RT_FAILURE(rc2))
    33983397                {
     
    35613560
    35623561                /* Cache new geometry values in any case. */
    3563                 int rc2 = pImage->Backend->pfnGetLCHSGeometry(pImage->pvBackendData,
    3564                                                               &pDisk->LCHSGeometry);
     3562                rc2 = pImage->Backend->pfnGetLCHSGeometry(pImage->pvBackendData,
     3563                                                          &pDisk->LCHSGeometry);
    35653564                if (RT_FAILURE(rc2))
    35663565                {
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