VirtualBox

Changeset 42022 in vbox


Ignore:
Timestamp:
Jul 5, 2012 6:43:16 AM (13 years ago)
Author:
vboxsync
Message:

Main/MachineImpl: coding style (spaces before and after '='); no C-style variable declaration

File:
1 edited

Legend:

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

    r42021 r42022  
    25732573    mHWData.backup();
    25742574    mHWData->mClipboardMode = aClipboardMode;
    2575    
     2575
    25762576    /* Save settings if online - todo why is this required?? */
    25772577    if (Global::IsOnline(mData->mMachineState))
     
    58315831        MediaData::AttachmentList::const_iterator endList = mMediaData->mAttachments.end();
    58325832        MediaData::AttachmentList::const_iterator it = mMediaData->mAttachments.begin();
    5833         MediumAttachment *pAttachTemp=NULL;
    5834         LONG port = 0;
    5835         LONG device = 0;
    5836 
    58375833        for (;it != endList; it++)
    58385834        {
    5839             pAttachTemp = *it;
     5835            MediumAttachment *pAttachTemp = *it;
    58405836            AutoCaller localAutoCaller(pAttachTemp);
    58415837            if (FAILED(localAutoCaller.rc())) return localAutoCaller.rc();
     
    58455841            if (pAttachTemp->getControllerName() == aName)
    58465842            {
    5847 
    5848                 port = pAttachTemp->getPort();
    5849 
    5850                 device = pAttachTemp->getDevice();
    5851 
     5843                LONG port = pAttachTemp->getPort();
     5844                LONG device = pAttachTemp->getDevice();
    58525845                rc = DetachDevice(aName, port, device);
    58535846                if (FAILED(rc)) return rc;
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