VirtualBox

Changeset 63248 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 10, 2016 11:02:10 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109878
Message:

Main: warnings

File:
1 edited

Legend:

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

    r63246 r63248  
    135135                AssertPtrReturn(mProcess, E_POINTER);
    136136                int rc2 = mProcess->signalWaitEvent(aType, aEvent);
    137 #ifdef DEBUG
     137                RT_NOREF(rc2);
     138#ifdef LOG_ENABLED
    138139                LogFlowThisFunc(("Signalling events of type=%RU32, pProcess=%p resulted in rc=%Rrc\n",
    139140                                 aType, &mProcess, rc2));
     
    299300    LogFlowThisFunc(("Returning rc=%Rrc, guestRc=%Rrc\n",
    300301                     vrc, guestRc));
     302    RT_NOREF_PV(vrc);
    301303}
    302304
     
    790792int GuestProcess::i_onProcessOutput(PVBOXGUESTCTRLHOSTCBCTX pCbCtx, PVBOXGUESTCTRLHOSTCALLBACK pSvcCbData)
    791793{
     794    RT_NOREF(pCbCtx);
    792795    AssertPtrReturn(pSvcCbData, VERR_INVALID_POINTER);
    793796
     
    14901493                                       ProcessInputStatus_T *pInputStatus, uint32_t *pcbProcessed)
    14911494{
     1495    RT_NOREF(uHandle);
    14921496    AssertPtrReturn(pEvent, VERR_INVALID_POINTER);
    14931497
     
    16551659                                         uint32_t uProtocol)
    16561660{
     1661    /** @todo r=bird: If you subscribe to HN, which the 'u' in 'uProcFlags'
     1662     *        indicates, you should actually be using 'fProc'! */
     1663    RT_NOREF(uProtocol, uProcFlags);
    16571664    bool fImplies;
    16581665
     
    20252032int GuestProcessTool::i_getRc(void) const
    20262033{
    2027     LONG exitCode;
     2034    LONG exitCode = -1;
    20282035    HRESULT hr = pProcess->COMGETTER(ExitCode(&exitCode));
    2029     Assert(SUCCEEDED(hr));
     2036    AssertComRC(hr);
    20302037
    20312038    return GuestProcessTool::i_exitCodeToRc(mStartupInfo, exitCode);
     
    20382045    ProcessStatus_T procStatus = ProcessStatus_Undefined;
    20392046    HRESULT hr = pProcess->COMGETTER(Status(&procStatus));
    2040     Assert(SUCCEEDED(hr));
     2047    AssertComRC(hr);
    20412048
    20422049    if (   procStatus == ProcessStatus_Started
     
    22132220    if (!i_isRunning())
    22142221    {
    2215         LONG lExitCode;
     2222        LONG lExitCode = -1;
    22162223        HRESULT hr = pProcess->COMGETTER(ExitCode(&lExitCode));
    2217         Assert(SUCCEEDED(hr));
     2224        AssertComRC(hr);
    22182225
    22192226        if (plExitCode)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette