VirtualBox

Changeset 26902 in vbox for trunk/src


Ignore:
Timestamp:
Mar 1, 2010 10:01:16 AM (15 years ago)
Author:
vboxsync
Message:

some vcc compiler warning fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r26753 r26902  
    21742174    SafeArray<BSTR> aMachineExtraDataKeys;
    21752175    /*
    2176         * Get the next key
    2177         */
     2176     * Get the next key
     2177     */
    21782178    if (FAILED(hrc = virtualBox->GetExtraDataKeys(ComSafeArrayAsOutParam(aGlobalExtraDataKeys))))
    21792179        AssertMsgFailed(("VirtualBox::GetExtraDataKeys failed with %Rrc\n", hrc));
     
    21872187    // build a combined list from global keys...
    21882188    std::list<Utf8Str> llExtraDataKeys;
    2189     size_t i = 0;
    2190 
    2191     for (i = 0; i < aGlobalExtraDataKeys.size(); ++i)
     2189
     2190    for (size_t i = 0; i < aGlobalExtraDataKeys.size(); ++i)
    21922191        llExtraDataKeys.push_back(Utf8Str(aGlobalExtraDataKeys[i]));
    21932192    // ... and machine keys
    2194     for (i = 0; i < aMachineExtraDataKeys.size(); ++i)
     2193    for (size_t i = 0; i < aMachineExtraDataKeys.size(); ++i)
    21952194        llExtraDataKeys.push_back(Utf8Str(aMachineExtraDataKeys[i]));
    21962195
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