VirtualBox

Ignore:
Timestamp:
Aug 10, 2016 3:25:54 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109923
Message:

VBoxBallonCtrl: Warnings

Location:
trunk/src/VBox/Frontends/VBoxBalloonCtrl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxModAPIMonitor.cpp

    r62493 r63290  
    586586static DECLCALLBACK(int) VBoxModAPIMonitorOnMachineRegistered(const Bstr &strUuid)
    587587{
     588    RT_NOREF(strUuid);
    588589    return VINF_SUCCESS;
    589590}
     
    591592static DECLCALLBACK(int) VBoxModAPIMonitorOnMachineUnregistered(const Bstr &strUuid)
    592593{
     594    RT_NOREF(strUuid);
    593595    return VINF_SUCCESS;
    594596}
    595597
    596 static DECLCALLBACK(int) VBoxModAPIMonitorOnMachineStateChanged(const Bstr &strUuid,
    597                                                                 MachineState_T enmState)
    598 {
     598static DECLCALLBACK(int) VBoxModAPIMonitorOnMachineStateChanged(const Bstr &strUuid, MachineState_T enmState)
     599{
     600    RT_NOREF(strUuid, enmState);
    599601    return VINF_SUCCESS;
    600602}
  • trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxModBallooning.cpp

    r62471 r63290  
    178178static unsigned long balloonGetMaxSize(PVBOXWATCHDOG_MACHINE pMachine)
    179179{
    180     const ComPtr<IMachine> &rptrMachine = pMachine->machine;
    181 
    182180    /*
    183181     * Is a maximum ballooning size set? Make sure we're within bounds.
  • trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdog.cpp

    r60865 r63290  
    683683}
    684684
    685 static RTEXITCODE watchdogMain(HandlerArg *a)
     685static RTEXITCODE watchdogMain(/*HandlerArg *a */)
    686686{
    687687    HRESULT rc = S_OK;
     
    11801180        return RTEXITCODE_FAILURE;
    11811181
    1182     HandlerArg handlerArg = { argc, argv };
    1183     RTEXITCODE rcExit = watchdogMain(&handlerArg);
     1182    //HandlerArg handlerArg = { argc, argv };
     1183    RTEXITCODE rcExit = watchdogMain(/*&handlerArg*/);
    11841184
    11851185    NativeEventQueue::getMainEventQueue()->processEventQueue(0);
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