VirtualBox

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


Ignore:
Timestamp:
May 18, 2011 3:24:23 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71815
Message:

Main/Host: fix scoping to avoid compiler warning about variable aliasing

File:
1 edited

Legend:

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

    r37095 r37142  
    16591659
    16601660            // remove drives from the cached list which are no longer present
    1661             MediaList::iterator itCached = pllCached->begin();
    1662             while (itCached != pllCached->end())
     1661            for (MediaList::iterator itCached = pllCached->begin();
     1662                 itCached != pllCached->end();
     1663                 /*nothing */)
    16631664            {
    16641665                Medium *pCached = *itCached;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette