VirtualBox

Changeset 37306 in vbox


Ignore:
Timestamp:
Jun 2, 2011 12:35:02 PM (14 years ago)
Author:
vboxsync
Message:

Main: Fix building if VBOX_WITH_USB is not defined (on FreeBSD 7.4 for example) and fix a gcc warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostImpl.cpp

    r37142 r37306  
    241241HRESULT Host::init(VirtualBox *aParent)
    242242{
     243    HRESULT hrc;
    243244    LogFlowThisFunc(("aParent=%p\n", aParent));
    244245
     
    270271    m->pUSBProxyService = new USBProxyService(this);
    271272# endif
    272     HRESULT hrc = m->pUSBProxyService->init();
     273    hrc = m->pUSBProxyService->init();
    273274    AssertComRCReturn(hrc, hrc);
    274275#endif /* VBOX_WITH_USB */
     
    16921693                const Utf8Str strLocationNew = pNew->getLocationFull();
    16931694                bool fFound = false;
    1694                 for (MediaList::iterator itCached = pllCached->begin();
     1695                for (itCached = pllCached->begin();
    16951696                     itCached != pllCached->end();
    16961697                     ++itCached)
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