- Timestamp:
- Jul 22, 2016 3:16:45 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmFormatYasm.cpp
r60442 r62452 1130 1130 PUT_SIZE_OVERRIDE(); 1131 1131 PUT_SEGMENT_OVERRIDE(); 1132 off = 0; 1132 1133 int rc = VERR_SYMBOL_NOT_FOUND; 1133 1134 switch (pParam->fUse & (DISUSE_IMMEDIATE_ADDR_16_16 | DISUSE_IMMEDIATE_ADDR_16_32 | DISUSE_DISPLACEMENT64 | DISUSE_DISPLACEMENT32 | DISUSE_DISPLACEMENT16)) … … 1178 1179 PUT_C('['); 1179 1180 PUT_SEGMENT_OVERRIDE(); 1181 off = 0; 1180 1182 int rc = VERR_SYMBOL_NOT_FOUND; 1181 1183 switch (pParam->fUse & (DISUSE_IMMEDIATE_ADDR_16_16 | DISUSE_IMMEDIATE_ADDR_16_32 | DISUSE_DISPLACEMENT64 | DISUSE_DISPLACEMENT32 | DISUSE_DISPLACEMENT16)) -
trunk/src/VBox/Runtime/common/log/log.cpp
r62448 r62452 2387 2387 { 2388 2388 int rc = RTStrCopyEx(szTmp, sizeof(szTmp), pszValue, cch); 2389 uint32_t cbRingBuf ;2389 uint32_t cbRingBuf = 0; 2390 2390 if (RT_SUCCESS(rc)) 2391 2391 rc = RTStrToUInt32Full(szTmp, 0, &cbRingBuf); -
trunk/src/VBox/Runtime/common/string/strcache.cpp
r57358 r62452 850 850 { 851 851 uint32_t cRefs = ASMAtomicIncU32(&pEntry->cRefs); 852 Assert(cRefs < UINT32_MAX / 2); 852 Assert(cRefs < UINT32_MAX / 2); NOREF(cRefs); 853 853 } 854 854 else -
trunk/src/VBox/Runtime/common/zip/tar.cpp
r57358 r62452 243 243 if (pInt->hVfsFss != NIL_RTVFSFSSTREAM) 244 244 { 245 uint32_t cRefs = RTVfsFsStrmRelease(pInt->hVfsFss); Assert(cRefs != UINT32_MAX); 245 uint32_t cRefs = RTVfsFsStrmRelease(pInt->hVfsFss); Assert(cRefs != UINT32_MAX); NOREF(cRefs); 246 246 pInt->hVfsFss = NIL_RTVFSFSSTREAM; 247 247 } … … 249 249 if (pInt->hVfsFile != NIL_RTVFSFILE) 250 250 { 251 uint32_t cRefs = RTVfsFileRelease(pInt->hVfsFile); Assert(cRefs != UINT32_MAX); 251 uint32_t cRefs = RTVfsFileRelease(pInt->hVfsFile); Assert(cRefs != UINT32_MAX); NOREF(cRefs); 252 252 pInt->hVfsFile = NIL_RTVFSFILE; 253 253 } … … 362 362 if (pInt->hVfsFss != NIL_RTVFSFSSTREAM) 363 363 { 364 uint32_t cRefs = RTVfsFsStrmRelease(pInt->hVfsFss); Assert(cRefs != UINT32_MAX); 364 uint32_t cRefs = RTVfsFsStrmRelease(pInt->hVfsFss); Assert(cRefs != UINT32_MAX); NOREF(cRefs); 365 365 pInt->hVfsFss = NIL_RTVFSFSSTREAM; 366 366 } -
trunk/src/VBox/Runtime/r3/memsafer-r3.cpp
r57432 r62452 161 161 bool fRc = RTAvlPVInsert(&g_pMemSaferTree, &pThis->Core); 162 162 RTCritSectRwLeaveExcl(&g_MemSaferCritSect); 163 Assert(fRc); 163 Assert(fRc); NOREF(fRc); 164 164 } 165 165 -
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 } -
trunk/src/bldprogs/VBoxCPP.cpp
r62450 r62452 2607 2607 2608 2608 bool fRc = RTStrSpaceInsert(&pThis->StrSpace, &pMacro->Core); 2609 Assert(fRc); 2609 Assert(fRc); NOREF(fRc); 2610 2610 } 2611 2611 else … … 4371 4371 { 4372 4372 /* Comment? */ 4373 unsigned ch2 = ScmStreamGetCh(pStrmInput); Assert(ch == ch2); 4373 unsigned ch2 = ScmStreamGetCh(pStrmInput); Assert(ch == ch2); NOREF(ch2); 4374 4374 ch = ScmStreamPeekCh(pStrmInput); 4375 4375 if (ch == '*') … … 4403 4403 { 4404 4404 unsigned ch2 = ScmStreamGetCh(pStrmInput); 4405 Assert(ch == ch2); 4405 Assert(ch == ch2); NOREF(ch2); 4406 4406 rcExit = RTEXITCODE_SUCCESS; 4407 4407 }
Note:
See TracChangeset
for help on using the changeset viewer.