Changeset 63248 in vbox for trunk/src/VBox
- Timestamp:
- Aug 10, 2016 11:02:10 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109878
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r63246 r63248 135 135 AssertPtrReturn(mProcess, E_POINTER); 136 136 int rc2 = mProcess->signalWaitEvent(aType, aEvent); 137 #ifdef DEBUG 137 RT_NOREF(rc2); 138 #ifdef LOG_ENABLED 138 139 LogFlowThisFunc(("Signalling events of type=%RU32, pProcess=%p resulted in rc=%Rrc\n", 139 140 aType, &mProcess, rc2)); … … 299 300 LogFlowThisFunc(("Returning rc=%Rrc, guestRc=%Rrc\n", 300 301 vrc, guestRc)); 302 RT_NOREF_PV(vrc); 301 303 } 302 304 … … 790 792 int GuestProcess::i_onProcessOutput(PVBOXGUESTCTRLHOSTCBCTX pCbCtx, PVBOXGUESTCTRLHOSTCALLBACK pSvcCbData) 791 793 { 794 RT_NOREF(pCbCtx); 792 795 AssertPtrReturn(pSvcCbData, VERR_INVALID_POINTER); 793 796 … … 1490 1493 ProcessInputStatus_T *pInputStatus, uint32_t *pcbProcessed) 1491 1494 { 1495 RT_NOREF(uHandle); 1492 1496 AssertPtrReturn(pEvent, VERR_INVALID_POINTER); 1493 1497 … … 1655 1659 uint32_t uProtocol) 1656 1660 { 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); 1657 1664 bool fImplies; 1658 1665 … … 2025 2032 int GuestProcessTool::i_getRc(void) const 2026 2033 { 2027 LONG exitCode ;2034 LONG exitCode = -1; 2028 2035 HRESULT hr = pProcess->COMGETTER(ExitCode(&exitCode)); 2029 Assert (SUCCEEDED(hr));2036 AssertComRC(hr); 2030 2037 2031 2038 return GuestProcessTool::i_exitCodeToRc(mStartupInfo, exitCode); … … 2038 2045 ProcessStatus_T procStatus = ProcessStatus_Undefined; 2039 2046 HRESULT hr = pProcess->COMGETTER(Status(&procStatus)); 2040 Assert (SUCCEEDED(hr));2047 AssertComRC(hr); 2041 2048 2042 2049 if ( procStatus == ProcessStatus_Started … … 2213 2220 if (!i_isRunning()) 2214 2221 { 2215 LONG lExitCode ;2222 LONG lExitCode = -1; 2216 2223 HRESULT hr = pProcess->COMGETTER(ExitCode(&lExitCode)); 2217 Assert (SUCCEEDED(hr));2224 AssertComRC(hr); 2218 2225 2219 2226 if (plExitCode)
Note:
See TracChangeset
for help on using the changeset viewer.