VirtualBox

Changeset 52802 in vbox


Ignore:
Timestamp:
Sep 22, 2014 7:34:22 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96197
Message:

Main/Appliance import: fixed wrong condition, thanks PVS

File:
1 edited

Legend:

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

    r52267 r52802  
    39393939    /* Iterate through all virtual systems of that appliance */
    39403940    size_t i = 0;
    3941     for (it = reader.m_llVirtualSystems.begin(),
    3942          it1 = m->virtualSystemDescriptions.begin();
    3943          it != reader.m_llVirtualSystems.end(),
    3944          it1 != m->virtualSystemDescriptions.end();
     3941    for (it  = reader.m_llVirtualSystems.begin(), it1  = m->virtualSystemDescriptions.begin();
     3942         it != reader.m_llVirtualSystems.end() && it1 != m->virtualSystemDescriptions.end();
    39453943         ++it, ++it1, ++i)
    39463944    {
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