VirtualBox

Changeset 25246 in vbox


Ignore:
Timestamp:
Dec 8, 2009 1:57:35 PM (15 years ago)
Author:
vboxsync
Message:

PGMAllPool.cpp: -Wshadow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r24962 r25246  
    11931193    int rc = EMInterpretDisasOne(pVM, pVCpu, pRegFrame, pDis, NULL);
    11941194    if (RT_UNLIKELY(rc != VINF_SUCCESS))
    1195     {       
     1195    {
    11961196        AssertMsg(rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT, ("Unexpected rc %d\n", rc));
    11971197        pgmUnlock(pVM);
     
    14251425     */
    14261426    rc = pgmPoolAccessHandlerFlush(pVM, pVCpu, pPool, pPage, pDis, pRegFrame, GCPhysFault, pvFault);
    1427     if (    rc == VINF_EM_RAW_EMULATE_INSTR 
     1427    if (    rc == VINF_EM_RAW_EMULATE_INSTR
    14281428        &&  fReused)
    14291429    {
     
    14771477                cErrors++;
    14781478
    1479                 int rc = PGMPhysGCPhys2HCPhys(pPool->CTX_SUFF(pVM), pPage->GCPhys, &HCPhysPT);
     1479                rc = PGMPhysGCPhys2HCPhys(pPool->CTX_SUFF(pVM), pPage->GCPhys, &HCPhysPT);
    14801480                AssertRC(rc);
    14811481
    1482                 for (unsigned i = 0; i < pPool->cCurPages; i++)
     1482                for (unsigned iPage = 0; iPage < pPool->cCurPages; iPage++)
    14831483                {
    1484                     PPGMPOOLPAGE pTempPage = &pPool->aPages[i];
     1484                    PPGMPOOLPAGE pTempPage = &pPool->aPages[iPage];
    14851485
    14861486                    if (pTempPage->enmKind == PGMPOOLKIND_PAE_PT_FOR_PAE_PT)
     
    27372737    if (i == NIL_PGMPOOL_USER_INDEX)
    27382738    {
    2739         int rc = pgmPoolTrackFreeOneUser(pPool, iUser);
     2739        rc = pgmPoolTrackFreeOneUser(pPool, iUser);
    27402740        if (RT_FAILURE(rc))
    27412741            return 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