VirtualBox

Changeset 63423 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Aug 13, 2016 10:05:12 PM (8 years ago)
Author:
vboxsync
Message:

Main: warnings (weird configs)

File:
1 edited

Legend:

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

    r63418 r63423  
    755755int Console::i_configConstructorInner(PUVM pUVM, PVM pVM, AutoWriteLock *pAlock)
    756756{
     757    RT_NOREF(pVM /* when everything is disabled */);
    757758    VMMDev         *pVMMDev   = m_pVMMDev; Assert(pVMMDev);
    758759    ComPtr<IMachine> pMachine = i_machine();
     
    46384639                             bool fIgnoreConnectFailure)
    46394640{
     4641    RT_NOREF(fIgnoreConnectFailure);
    46404642    AutoCaller autoCaller(this);
    46414643    AssertComRCReturn(autoCaller.rc(), VERR_ACCESS_DENIED);
     
    50275029                    H();
    50285030                }
    5029 #define VBOX_WIN_BINDNAME_PREFIX "\\DEVICE\\"
     5031# define VBOX_WIN_BINDNAME_PREFIX "\\DEVICE\\"
    50305032                char szTrunkName[INTNET_MAX_TRUNK_NAME];
    50315033                char *pszTrunkName = szTrunkName;
     
    51505152                char szNetwork[INTNET_MAX_NETWORK_NAME];
    51515153
    5152 #if defined(RT_OS_SOLARIS) || defined(RT_OS_DARWIN)
     5154# if defined(RT_OS_SOLARIS) || defined(RT_OS_DARWIN)
    51535155                /*
    51545156                 * 'pszTrunk' contains just the interface name required in ring-0, while 'pszBridgedIfName' contains
     
    51575159                 */
    51585160                RTStrPrintf(szNetwork, sizeof(szNetwork), "HostInterfaceNetworking-%s", pszTrunk);
    5159 #else
     5161# else
    51605162                RTStrPrintf(szNetwork, sizeof(szNetwork), "HostInterfaceNetworking-%s", pszBridgedIfName);
    5161 #endif
     5163# endif
    51625164                InsertConfigString(pCfg, "Network", szNetwork);
    51635165                networkName = Bstr(szNetwork);
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