VirtualBox

Changeset 63256 in vbox for trunk/src/VBox/Main/src-server


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

Main: warnings

Location:
trunk/src/VBox/Main/src-server
Files:
7 edited

Legend:

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

    r63172 r63256  
    27392739HRESULT Machine::getSettingsAuxFilePath(com::Utf8Str &aSettingsFilePath)
    27402740{
     2741    RT_NOREF(aSettingsFilePath);
    27412742    ReturnComNotImplemented();
    27422743}
     
    71287129HRESULT Machine::setVMProcessPriority(const com::Utf8Str &aVMProcessPriority)
    71297130{
     7131    RT_NOREF(aVMProcessPriority);
    71307132    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    71317133    HRESULT hrc = i_checkStateDependency(MutableOrSavedOrRunningStateDep);
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r63187 r63256  
    64206420bool Medium::i_isMoveOperation(const ComObjPtr<Medium> &aTarget) const
    64216421{
     6422    RT_NOREF(aTarget);
    64226423    return (m->fMoveThisMedium == true) ? true:false;
    64236424}
  • trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp

    r63174 r63256  
    948948HRESULT SystemProperties::setDefaultAdditionsISO(const com::Utf8Str &aDefaultAdditionsISO)
    949949{
     950    RT_NOREF(aDefaultAdditionsISO);
    950951    /** @todo not yet implemented, settings handling is missing */
    951952    ReturnComNotImplemented();
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r63187 r63256  
    19481948    AutoReadLock alock(m->allGuestOSTypes.getLockHandle() COMMA_LOCKVAL_SRC_POS);
    19491949
    1950     HRESULT rc = S_OK;
    19511950    for (GuestOSTypesOList::iterator it = m->allGuestOSTypes.begin();
    19521951         it != m->allGuestOSTypes.end();
  • trunk/src/VBox/Main/src-server/win/HostPowerWin.cpp

    r62679 r63256  
    6363
    6464
    65 DECLCALLBACK(int) HostPowerServiceWin::NotificationThread(RTTHREAD ThreadSelf, void *pInstance)
    66 {
     65DECLCALLBACK(int) HostPowerServiceWin::NotificationThread(RTTHREAD hThreadSelf, void *pInstance)
     66{
     67    RT_NOREF(hThreadSelf);
    6768    HostPowerServiceWin *pPowerObj = (HostPowerServiceWin *)pInstance;
    6869    HWND                 hwnd = 0;
  • trunk/src/VBox/Main/src-server/win/NetIf-win.cpp

    r63176 r63256  
    9797static int collectNetIfInfo(Bstr &strName, Guid &guid, PNETIFINFO pInfo, int iDefault)
    9898{
    99     DWORD dwRc;
    100     int rc = VINF_SUCCESS;
     99    RT_NOREF(strName);
     100
    101101    /*
    102102     * Most of the hosts probably have less than 10 adapters,
     
    107107    if (!pAddresses)
    108108        return VERR_NO_MEMORY;
    109     dwRc = GetAdaptersAddresses(AF_UNSPEC, GAA_FLAG_INCLUDE_PREFIX, NULL, pAddresses, &uBufLen);
     109    DWORD dwRc = GetAdaptersAddresses(AF_UNSPEC, GAA_FLAG_INCLUDE_PREFIX, NULL, pAddresses, &uBufLen);
    110110    if (dwRc == ERROR_BUFFER_OVERFLOW)
    111111    {
     
    11121112 * @returns VBox status code.
    11131113 *
    1114  * @param   pcszIfName  Interface name.
     1114 * @param   pszIfName   Interface name.
    11151115 * @param   penmState   Where to store the retrieved state.
    11161116 */
    1117 int NetIfGetState(const char *pcszIfName, NETIFSTATUS *penmState)
    1118 {
     1117int NetIfGetState(const char *pszIfName, NETIFSTATUS *penmState)
     1118{
     1119    RT_NOREF(pszIfName, penmState);
    11191120    return VERR_NOT_IMPLEMENTED;
    11201121}
     
    11261127 * @returns VBox status code.
    11271128 *
    1128  * @param   pcszIfName  Interface name.
     1129 * @param   pszIfName  Interface name.
    11291130 * @param   puMbits     Where to store the link speed.
    11301131 */
    1131 int NetIfGetLinkSpeed(const char * /*pcszIfName*/, uint32_t * /*puMbits*/)
    1132 {
     1132int NetIfGetLinkSpeed(const char *pszIfName, uint32_t *puMbits)
     1133{
     1134    RT_NOREF(pszIfName, puMbits);
    11331135    return VERR_NOT_IMPLEMENTED;
    11341136}
     
    11371139                                        IHostNetworkInterface **aHostNetworkInterface,
    11381140                                        IProgress **aProgress,
    1139                                         const char *pcszName)
    1140 {
     1141                                        const char *pszName)
     1142{
     1143    RT_NOREF(pszName);
    11411144#ifndef VBOX_WITH_NETFLT
    11421145    return VERR_NOT_IMPLEMENTED;
     
    12261229int NetIfEnableStaticIpConfig(VirtualBox *vBox, HostNetworkInterface * pIf, ULONG aOldIp, ULONG ip, ULONG mask)
    12271230{
     1231    RT_NOREF(aOldIp);
    12281232#ifndef VBOX_WITH_NETFLT
    12291233    return VERR_NOT_IMPLEMENTED;
    12301234#else
    1231     HRESULT rc;
    12321235    Bstr guid;
    1233     rc = pIf->COMGETTER(Id)(guid.asOutParam());
     1236    HRESULT rc = pIf->COMGETTER(Id)(guid.asOutParam());
    12341237    if (SUCCEEDED(rc))
    12351238    {
     
    12841287                                IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength)
    12851288{
     1289    RT_NOREF(aOldIPV6Address);
    12861290#ifndef VBOX_WITH_NETFLT
    12871291    return VERR_NOT_IMPLEMENTED;
    12881292#else
    1289     HRESULT rc;
    12901293    Bstr guid;
    1291     rc = pIf->COMGETTER(Id)(guid.asOutParam());
     1294    HRESULT rc = pIf->COMGETTER(Id)(guid.asOutParam());
    12921295    if (SUCCEEDED(rc))
    12931296    {
  • trunk/src/VBox/Main/src-server/win/PerformanceWin.cpp

    r62679 r63256  
    195195int CollectorWin::getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle)
    196196{
     197    RT_NOREF(user, kernel, idle);
    197198    return VERR_NOT_IMPLEMENTED;
    198199}
     
    313314int CollectorWin::getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel)
    314315{
     316    RT_NOREF(process, user, kernel);
    315317    return VERR_NOT_IMPLEMENTED;
    316318}
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