VirtualBox

Changeset 47780 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 16, 2013 7:14:44 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88040
Message:

tstMouseImpl: uninitialized variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstMouseImpl.cpp

    r47774 r47780  
    265265    PCFGMNODE pCfg = NULL;
    266266    Mouse *pMouse2;
    267     int rc;
     267    int rc = VERR_NO_MEMORY;
    268268    VMMDevPort.pfnSetAbsoluteMouse = setAbsoluteMouse;
    269269    VMMDevPort.pfnUpdateMouseCapabilities = updateMouseCapabilities;
     
    280280    pCfg = CFGMR3CreateTree(NULL);
    281281    if (pCfg)
     282    {
    282283        rc = CFGMR3InsertInteger(pCfg, "Object", (uintptr_t)pMouse2);
    283     if (RT_SUCCESS(rc))
    284         Mouse::DrvReg.pfnConstruct(ppdmdrvIns, pCfg, 0);
     284        if (RT_SUCCESS(rc))
     285            Mouse::DrvReg.pfnConstruct(ppdmdrvIns, pCfg, 0);
     286    }
    285287    return rc;
    286288}
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