VirtualBox

Changeset 25015 in vbox


Ignore:
Timestamp:
Nov 26, 2009 3:27:42 PM (15 years ago)
Author:
vboxsync
Message:

VMM: a few more -Wshadow fixes.

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

Legend:

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

    r24009 r25015  
    166166                {
    167167                    /* make new symbol space node. */
    168                     PDBGFSYMSPACE pName = (PDBGFSYMSPACE)MMR3HeapAlloc(pVM, MM_TAG_DBGF_SYMBOL, sizeof(*pName) + cchName);
     168                    pName = (PDBGFSYMSPACE)MMR3HeapAlloc(pVM, MM_TAG_DBGF_SYMBOL, sizeof(*pName) + cchName);
    169169                    if (pName)
    170170                    {
  • trunk/src/VBox/VMM/PDMLdr.cpp

    r24580 r25015  
    498498                            {
    499499                                /* we don't expect this list to be very long, so rather save the tail pointer. */
    500                                 PPDMMOD pCur = pUVM->pdm.s.pModules;
     500                                pCur = pUVM->pdm.s.pModules;
    501501                                while (pCur->pNext)
    502502                                    pCur = pCur->pNext;
     
    603603        {
    604604            /* we don't expect this list to be very long, so rather save the tail pointer. */
    605             PPDMMOD pCur = pUVM->pdm.s.pModules;
     605            pCur = pUVM->pdm.s.pModules;
    606606            while (pCur->pNext)
    607607                pCur = pCur->pNext;
  • trunk/src/VBox/VMM/PDMQueue.cpp

    r21847 r25015  
    123123    if (cMilliesInterval)
    124124    {
    125         int rc = TMR3TimerCreateInternal(pVM, TMCLOCK_REAL, pdmR3QueueTimer, pQueue, "Queue timer", &pQueue->pTimer);
     125        rc = TMR3TimerCreateInternal(pVM, TMCLOCK_REAL, pdmR3QueueTimer, pQueue, "Queue timer", &pQueue->pTimer);
    126126        if (RT_SUCCESS(rc))
    127127        {
     
    158158         * This is a FIFO, so insert at the end.
    159159         */
    160         /** @todo we should add a priority priority to the queues so we don't have to rely on
     160        /** @todo we should add a priority to the queues so we don't have to rely on
    161161         * the initialization order to deal with problems like #1605 (pgm/pcnet deadlock
    162162         * caused by the critsect queue to be last in the chain).
  • trunk/src/VBox/VMM/PGM.cpp

    r24874 r25015  
    11971197
    11981198    /* Init the per-CPU part. */
    1199     for (VMCPUID i = 0; i < pVM->cCpus; i++)
    1200     {
    1201         PVMCPU pVCpu = &pVM->aCpus[i];
     1199    for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++)
     1200    {
     1201        PVMCPU pVCpu = &pVM->aCpus[idCpu];
    12021202        PPGMCPU pPGM = &pVCpu->pgm.s;
    12031203
     
    13761376        if (!s_fRegisteredCmds)
    13771377        {
    1378             int rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));
    1379             if (RT_SUCCESS(rc))
     1378            int rc2 = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));
     1379            if (RT_SUCCESS(rc2))
    13801380                s_fRegisteredCmds = true;
    13811381        }
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