VirtualBox

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


Ignore:
Timestamp:
Aug 12, 2009 8:58:12 AM (15 years ago)
Author:
vboxsync
Message:

Main: fix gcc warnings.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

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

    r22194 r22197  
    59985998
    59995999        if (aFlags & SaveSTS_StateFilePath)
     6000        {
    60006001            if (mSSData->mStateFilePath)
    60016002            {
     
    60076008            else
    60086009                mData->m_pMachineConfigFile->strStateFile.setNull();
     6010        }
    60096011
    60106012        if (aFlags & SaveSTS_StateTimeStamp)
  • trunk/src/VBox/Main/xml/Settings.cpp

    r22188 r22197  
    371371    m->pelmRoot->setAttribute("xmlns", VBOX_XML_NAMESPACE);
    372372
    373     const char *pcszVersion;
     373    const char *pcszVersion = "1.7";
    374374    switch (m->sv)
    375375    {
    376         case SettingsVersion_v1_7:
    377             pcszVersion = "1.7";
    378         break;
    379376        case SettingsVersion_v1_8:
    380377            pcszVersion = "1.8";
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