VirtualBox

Changeset 24999 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 26, 2009 1:36:37 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55306
Message:

VMM: Fixed a few of -Wshadow warnings.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUM.cpp

    r24959 r24999  
    10361036            if (fStrictCpuIdChecks) \
    10371037            { \
    1038                 int rc = SSMR3SetLoadError(pSSM, VERR_SSM_LOAD_CPUID_MISMATCH, RT_SRC_POS, "%s", pszMsg); \
     1038                int rcCpuid = SSMR3SetLoadError(pSSM, VERR_SSM_LOAD_CPUID_MISMATCH, RT_SRC_POS, "%s", pszMsg); \
    10391039                RTStrFree(pszMsg); \
    1040                 return rc; \
     1040                return rcCpuid; \
    10411041            } \
    10421042            LogRel(("CPUM: %s\n", pszMsg)); \
  • trunk/src/VBox/VMM/DBGF.cpp

    r23925 r24999  
    627627                &&  !VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_REQUEST))
    628628            {
    629                 int rc = RTSemPingWait(&pVM->dbgf.s.PingPong, cPollHack);
     629                rc = RTSemPingWait(&pVM->dbgf.s.PingPong, cPollHack);
    630630                if (RT_SUCCESS(rc))
    631631                    break;
  • trunk/src/VBox/VMM/EMRaw.cpp

    r23372 r24999  
    867867
    868868        DISCPUSTATE Cpu;
    869         int         rc;
    870 
    871869        rc = CPUMR3DisasmInstrCPU(pVM, pVCpu, pCtx, pCtx->eip, &Cpu, "Patch code: ");
    872870        if (    RT_SUCCESS(rc)
     
    10071005static int emR3RawPrivileged(PVM pVM, PVMCPU pVCpu)
    10081006{
    1009     STAM_PROFILE_START(&pVCpu->em.s.StatPrivEmu, a);
    10101007    PCPUMCTX    pCtx = pVCpu->em.s.pCtx;
    10111008
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