VirtualBox

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


Ignore:
Timestamp:
Oct 2, 2008 8:10:58 AM (16 years ago)
Author:
vboxsync
Message:

vcc warning

File:
1 edited

Legend:

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

    r12677 r12898  
    4747{
    4848    /* more validations. */
    49     for (PDBGFOS pOS = pVM->dbgf.s.pOSHead; pOS; pOS = pOS->pNext)
     49    PDBGFOS pOS;
     50    for (pOS = pVM->dbgf.s.pOSHead; pOS; pOS = pOS->pNext)
    5051        if (!strcmp(pOS->pReg->szName, pReg->szName))
    5152        {
     
    5758     * Allocate a new structure, call the constructor and link it into the list.
    5859     */
    59     PDBGFOS pOS = (PDBGFOS)MMR3HeapAllocZ(pVM, MM_TAG_DBGF_OS, RT_OFFSETOF(DBGFOS, abData[pReg->cbData]));
     60    pOS = (PDBGFOS)MMR3HeapAllocZ(pVM, MM_TAG_DBGF_OS, RT_OFFSETOF(DBGFOS, abData[pReg->cbData]));
    6061    AssertReturn(pOS, VERR_NO_MEMORY);
    6162    pOS->pReg = pReg;
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