Changeset 62452 in vbox for trunk/src/VBox/Runtime/r3/win
- Timestamp:
- Jul 22, 2016 3:16:45 PM (8 years ago)
- Location:
- trunk/src/VBox/Runtime/r3/win
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/allocex-win.cpp
r57358 r62452 116 116 { 117 117 BOOL fRc = VirtualFree(pv, cb, MEM_RELEASE); 118 Assert(fRc); 118 Assert(fRc); NOREF(fRc); 119 119 } 120 120 -
trunk/src/VBox/Runtime/r3/win/localipc-win.cpp
r62448 r62452 455 455 { 456 456 uint32_t cRefs = ASMAtomicIncU32(&pThis->cRefs); 457 Assert(cRefs < UINT32_MAX / 2 && cRefs); 457 Assert(cRefs < UINT32_MAX / 2 && cRefs); NOREF(cRefs); 458 458 } 459 459 … … 903 903 { 904 904 uint32_t cRefs = ASMAtomicIncU32(&pThis->cRefs); 905 Assert(cRefs < UINT32_MAX / 2 && cRefs); 905 Assert(cRefs < UINT32_MAX / 2 && cRefs); NOREF(cRefs); 906 906 } 907 907 … … 1531 1531 break; 1532 1532 } 1533 BOOL fRc = ResetEvent(pThis->Read.OverlappedIO.hEvent); Assert(fRc == TRUE); 1533 BOOL fRc = ResetEvent(pThis->Read.OverlappedIO.hEvent); Assert(fRc == TRUE); NOREF(fRc); 1534 1534 DWORD cbRead = 0; 1535 1535 if (ReadFile(pThis->hNmPipe, pThis->abBuf, 0 /*cbToRead*/, &cbRead, &pThis->Read.OverlappedIO)) -
trunk/src/VBox/Runtime/r3/win/process-win.cpp
r62448 r62452 2253 2253 * Create the command line and convert the executable name. 2254 2254 */ 2255 PRTUTF16 pwszCmdLine ;2255 PRTUTF16 pwszCmdLine = NULL; /* Shut up, MSC! */ 2256 2256 if (RT_SUCCESS(rc)) 2257 2257 rc = RTGetOptArgvToUtf16String(&pwszCmdLine, papszArgs, … … 2498 2498 2499 2499 BOOL fRc = GetProcessAffinityMask(GetCurrentProcess(), &dwProcessAffinityMask, &dwSystemAffinityMask); 2500 Assert(fRc); 2500 Assert(fRc); NOREF(fRc); 2501 2501 2502 2502 return dwProcessAffinityMask; -
trunk/src/VBox/Runtime/r3/win/semevent-win.cpp
r57358 r62452 220 220 RTDECL(int) RTSemEventWaitNoResume(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies) 221 221 { 222 PCRTLOCKVALSRCPOS pSrcPos = NULL;223 224 222 /* 225 223 * Validate input. … … 243 241 if (rc != WAIT_TIMEOUT || cMillies == 0) 244 242 return rtSemEventWaitHandleStatus(pThis, rc); 245 int rc9 = RTLockValidatorRecSharedCheckBlocking(&pThis->Signallers, hThreadSelf, pSrcPos, false,243 int rc9 = RTLockValidatorRecSharedCheckBlocking(&pThis->Signallers, hThreadSelf, NULL /*pSrcPos*/, false, 246 244 cMillies, RTTHREADSTATE_EVENT, true); 247 245 if (RT_FAILURE(rc9)) -
trunk/src/VBox/Runtime/r3/win/timer-win.cpp
r62448 r62452 243 243 * Rearm the timer handler. 244 244 */ 245 # ifdef USE_CATCH_UP245 # ifdef USE_CATCH_UP 246 246 pTimer->llNext.QuadPart += NSInterval; 247 247 LARGE_INTEGER ll; … … 251 251 else 252 252 ll.QuadPart = -500000 / 100; /* need to catch up, do a minimum wait of 0.5ms. */ 253 # else253 # else 254 254 LARGE_INTEGER ll = pTimer->llNext; 255 # endif256 BOOL f rc = SetWaitableTimer(pTimer->hTimer, &ll, 0, NULL, NULL, FALSE);257 AssertMsg(f rc || pTimer->u32Magic != RTTIMER_MAGIC, ("last error %d\n", GetLastError()));255 # endif 256 BOOL fRc = SetWaitableTimer(pTimer->hTimer, &ll, 0, NULL, NULL, FALSE); 257 AssertMsg(fRc || pTimer->u32Magic != RTTIMER_MAGIC, ("last error %d\n", GetLastError())); NOREF(fRc); 258 258 } 259 259 else … … 265 265 int rc2 = GetLastError(); 266 266 RTThreadUserSignal(Thread); 267 AssertMsgFailed(("Wait on hTimer failed, rc=%d lasterr=%d\n", rc, rc2)); 267 AssertMsgFailed(("Wait on hTimer failed, rc=%d lasterr=%d\n", rc, rc2)); NOREF(rc2); 268 268 return -1; 269 269 }
Note:
See TracChangeset
for help on using the changeset viewer.