diff options
author | Felix Geyer <debfx-pkg@fobos.de> | 2011-06-28 12:27:03 +0200 |
---|---|---|
committer | Felix Geyer <debfx-pkg@fobos.de> | 2011-06-28 12:27:03 +0200 |
commit | 6a16f6900dd884e07125b51c9625f6be0a1f9b70 (patch) | |
tree | ca3a5bca20c886411320d15508fbd741cba63545 /src/VBox/Main/src-server/HostImpl.cpp | |
parent | 0056814bdb2f8a457b56803fd24c72347173250d (diff) | |
download | virtualbox-6a16f6900dd884e07125b51c9625f6be0a1f9b70.tar.gz |
Imported Upstream version 4.0.10-dfsgupstream/4.0.10-dfsg
Diffstat (limited to 'src/VBox/Main/src-server/HostImpl.cpp')
-rw-r--r-- | src/VBox/Main/src-server/HostImpl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/VBox/Main/src-server/HostImpl.cpp b/src/VBox/Main/src-server/HostImpl.cpp index 6bba2ac66..a2994f520 100644 --- a/src/VBox/Main/src-server/HostImpl.cpp +++ b/src/VBox/Main/src-server/HostImpl.cpp @@ -239,6 +239,7 @@ void Host::FinalRelease() */ HRESULT Host::init(VirtualBox *aParent) { + HRESULT hrc; LogFlowThisFunc(("aParent=%p\n", aParent)); /* Enclose the state transition NotReady->InInit->Ready */ @@ -268,7 +269,7 @@ HRESULT Host::init(VirtualBox *aParent) # else m->pUSBProxyService = new USBProxyService(this); # endif - HRESULT hrc = m->pUSBProxyService->init(); + hrc = m->pUSBProxyService->init(); AssertComRCReturn(hrc, hrc); #endif /* VBOX_WITH_USB */ @@ -1679,7 +1680,7 @@ HRESULT Host::getDrives(DeviceType_T mediumType, Medium *pNew = *itNew; const Utf8Str strLocationNew = pNew->getLocationFull(); bool fFound = false; - for (MediaList::iterator itCached = pllCached->begin(); + for (itCached = pllCached->begin(); itCached != pllCached->end(); ++itCached) { |