Changeset 62566 in vbox
- Timestamp:
- Jul 26, 2016 3:16:41 PM (8 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgcfg.cpp
r62564 r62566 740 740 { 741 741 #ifdef IPRT_WITH_HTTP 742 NOREF(pszUuidMappingSubDir); /** @todo do we bother trying pszUuidMappingSubDir? */ 743 NOREF(pszCacheSuffix); /** @todo do we bother trying pszUuidMappingSubDir? */ 742 RT_NOREF_PV(pszUuidMappingSubDir); /** @todo do we bother trying pszUuidMappingSubDir? */ 743 RT_NOREF_PV(pszCacheSuffix); /** @todo do we bother trying pszUuidMappingSubDir? */ 744 RT_NOREF_PV(fFlags); 744 745 745 746 if (pThis->fFlags & RTDBGCFG_FLAGS_NO_SYM_SRV) -
trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp
r62564 r62566 2383 2383 static void rtldrPE_VerifySignatureDestroy(PRTLDRMODPE pModPe, PRTLDRPESIGNATURE pSignature) 2384 2384 { 2385 RT_NOREF_PV(pModPe); 2385 2386 RTCrPkcs7ContentInfo_Delete(&pSignature->ContentInfo); 2386 2387 RTMemTmpFree(pSignature); … … 2401 2402 AssertReturn(pEntry->wCertificateType == WIN_CERT_TYPE_PKCS_SIGNED_DATA, VERR_INTERNAL_ERROR_2); 2402 2403 AssertReturn(pEntry->wRevision == WIN_CERT_REVISION_2_0, VERR_INTERNAL_ERROR_2); 2404 RT_NOREF_PV(pModPe); 2403 2405 2404 2406 RTASN1CURSORPRIMARY PrimaryCursor; -
trunk/src/VBox/Runtime/common/log/log.cpp
r62477 r62566 851 851 else 852 852 pLogger->pInt->cSecsHistoryTimeSlot = cSecsHistoryTimeSlot; 853 # endif /* IN_RING3 */ 853 # else /* !IN_RING3 */ 854 RT_NOREF_PV(pfnPhase); RT_NOREF_PV(cHistory); RT_NOREF_PV(cbHistoryFileMax); RT_NOREF_PV(cSecsHistoryTimeSlot); 855 # endif /* !IN_RING3 */ 854 856 if (pszGroupSettings) 855 857 RTLogGroupSettings(pLogger, pszGroupSettings); … … 934 936 RTLogGroupSettings(pLogger, pszValue); 935 937 } 936 # endif /* IN_RING3 */ 938 # else /* !IN_RING3 */ 939 RT_NOREF_PV(pszEnvVarBase); RT_NOREF_PV(pszFilenameFmt); RT_NOREF_PV(args); 940 # endif /* !IN_RING3 */ 937 941 938 942 /* -
trunk/src/VBox/Runtime/common/misc/aiomgr.cpp
r62477 r62566 850 850 { 851 851 PRTAIOMGRINT pThis = (PRTAIOMGRINT)pvUser; 852 bool fRunning = true;852 /*bool fRunning = true;*/ 853 853 int rc = VINF_SUCCESS; 854 854 … … 879 879 rc = rtAioMgrCheckFiles(pThis); 880 880 } 881 } while ( fRunning 882 && RT_SUCCESS(rc)); 883 881 } while ( /*fRunning - never modified 882 && */ RT_SUCCESS(rc)); 883 884 RT_NOREF_PV(hThreadSelf); 884 885 return rc; 885 886 } … … 1098 1099 { 1099 1100 PRTAIOMGRREQ pReq = (PRTAIOMGRREQ)pvObj; 1101 RT_NOREF_PV(hMemCache); RT_NOREF_PV(pvUser); 1100 1102 1101 1103 memset(pReq, 0, sizeof(RTAIOMGRREQ)); … … 1114 1116 PRTAIOMGRREQ pReq = (PRTAIOMGRREQ)pvObj; 1115 1117 int rc = RTFileAioReqDestroy(pReq->hReqIo); 1116 1117 1118 AssertRC(rc); 1119 1120 RT_NOREF_PV(hMemCache); RT_NOREF_PV(pvUser); 1118 1121 } 1119 1122 -
trunk/src/VBox/Runtime/common/zip/xarvfs.cpp
r62477 r62566 1402 1402 * @interface_method_impl{RTVFSSYMLINKOPS,pfnRead} 1403 1403 */ 1404 static DECLCALLBACK(int) rtZipXarFssSym_Read(void *pvThis, char *pszTarget, size_t cb Xarget)1404 static DECLCALLBACK(int) rtZipXarFssSym_Read(void *pvThis, char *pszTarget, size_t cbTarget) 1405 1405 { 1406 1406 PRTZIPXARBASEOBJ pThis = (PRTZIPXARBASEOBJ)pvThis; … … 1408 1408 return RTStrCopy(pszTarget, cbXarget, pThis->pXarReader->szTarget); 1409 1409 #else 1410 RT_NOREF_PV(pThis); RT_NOREF_PV(pszTarget); RT_NOREF_PV(cbTarget); 1410 1411 return VERR_NOT_IMPLEMENTED; 1411 1412 #endif … … 1819 1820 { 1820 1821 int rc; 1822 RT_NOREF_PV(pXarHdr); 1821 1823 1822 1824 /* -
trunk/src/VBox/Runtime/generic/http-curl.cpp
r62477 r62566 1956 1956 uint32_t const cBefore = RTCrStoreCertCount(hStore); 1957 1957 AssertReturn(cBefore != UINT32_MAX, VERR_INVALID_HANDLE); 1958 RT_NOREF_PV(fFlags); 1959 1958 1960 1959 1961 /* … … 2124 2126 PRTHTTPINTERNAL pThis = (PRTHTTPINTERNAL)pData; 2125 2127 AssertReturn(pThis->u32Magic == RTHTTP_MAGIC, 1); 2128 RT_NOREF_PV(rdTotalUpload); 2129 RT_NOREF_PV(rdUploaded); 2126 2130 2127 2131 pThis->cbDownloadHint = (uint64_t)rdTotalDownload; -
trunk/src/VBox/Runtime/r0drv/alloc-r0drv.cpp
r62477 r62566 118 118 PRTMEMHDR pHdr; 119 119 RT_ASSERT_INTS_ON(); 120 RT_NOREF_PV(pszTag); 120 121 121 122 pHdr = rtR0MemAlloc(cb + RTR0MEM_FENCE_EXTRA, 0); … … 137 138 PRTMEMHDR pHdr; 138 139 RT_ASSERT_INTS_ON(); 140 RT_NOREF_PV(pszTag); 139 141 140 142 pHdr = rtR0MemAlloc(cb + RTR0MEM_FENCE_EXTRA, RTMEMHDR_FLAG_ZEROED); … … 285 287 RT_ASSERT_PREEMPTIBLE(); 286 288 #endif 289 RT_NOREF_PV(pszTag); 290 287 291 288 292 pHdr = rtR0MemAlloc(cb + RTR0MEM_FENCE_EXTRA, RTMEMHDR_FLAG_EXEC); … … 304 308 PRTMEMHDR pHdr; 305 309 RT_ASSERT_INTS_ON(); 310 RT_NOREF_PV(cb); 306 311 307 312 if (!pv) … … 335 340 PRTMEMHDR pHdr; 336 341 int rc; 342 RT_NOREF_PV(pszTag); 337 343 338 344 RT_ASSERT_PREEMPT_CPUID_VAR(); -
trunk/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
r62477 r62566 143 143 return rc; 144 144 #else 145 RT_NOREF_PV(pvMemory); RT_NOREF_PV(cb); 145 146 return VERR_NOT_SUPPORTED; 146 147 #endif -
trunk/src/VBox/Runtime/r0drv/linux/semevent-r0drv-linux.c
r62477 r62566 74 74 PRTSEMEVENTINTERNAL pThis; 75 75 IPRT_LINUX_SAVE_EFL_AC(); 76 RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt); 76 77 77 78 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK)), VERR_INVALID_PARAMETER); … … 184 185 { 185 186 int rc; 187 RT_NOREF_PV(pSrcPos); 186 188 187 189 /* -
trunk/src/VBox/Runtime/r0drv/linux/semeventmulti-r0drv-linux.c
r62477 r62566 97 97 PRTSEMEVENTMULTIINTERNAL pThis; 98 98 IPRT_LINUX_SAVE_EFL_AC(); 99 RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt); 99 100 100 101 AssertReturn(!(fFlags & ~RTSEMEVENTMULTI_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER); … … 249 250 uint32_t fOrgStateAndGen; 250 251 int rc; 252 RT_NOREF_PV(pSrcPos); 251 253 252 254 /* -
trunk/src/VBox/Runtime/r0drv/linux/semmutex-r0drv-linux.c
r62477 r62566 324 324 RTDECL(int) RTSemMutexRequestDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) 325 325 { 326 RT_NOREF_PV(uId); RT_SRC_POS_NOREF(); 326 327 return RTSemMutexRequest(hMutexSem, cMillies); 327 328 } … … 338 339 RTDECL(int) RTSemMutexRequestNoResumeDebug(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies, RTHCUINTPTR uId, RT_SRC_POS_DECL) 339 340 { 341 RT_NOREF_PV(uId); RT_SRC_POS_NOREF(); 340 342 return RTSemMutexRequestNoResume(hMutexSem, cMillies); 341 343 } -
trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c
r62477 r62566 77 77 PRTSPINLOCKINTERNAL pThis; 78 78 AssertReturn(fFlags == RTSPINLOCK_FLAGS_INTERRUPT_SAFE || fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE, VERR_INVALID_PARAMETER); 79 RT_NOREF_PV(pszName); 79 80 80 81 /* -
trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
r62477 r62566 35 35 #define bool linux_bool 36 36 37 #if RT_GNUC_PREREQ(4, 6) 38 # pragma GCC diagnostic push 39 #endif 40 #if RT_GNUC_PREREQ(4, 2) 41 # pragma GCC diagnostic ignored "-Wunused-parameter" 42 #endif 43 37 44 #include <linux/version.h> 38 45 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33) … … 338 345 #undef bool 339 346 347 #if RT_GNUC_PREREQ(4, 6) 348 # pragma GCC diagnostic pop 349 #endif 350 340 351 /* 341 352 * There are post-2.6.24 kernels (confusingly with unchanged version number) -
trunk/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
r62477 r62566 91 91 92 92 sched_setscheduler(current, iSchedClass, &Param); 93 #else 94 RT_NOREF_PV(enmType); 93 95 #endif 96 RT_NOREF_PV(pThread); 94 97 95 98 return VINF_SUCCESS; … … 99 102 DECLHIDDEN(int) rtThreadNativeAdopt(PRTTHREADINT pThread) 100 103 { 104 RT_NOREF_PV(pThread); 101 105 return VERR_NOT_IMPLEMENTED; 102 106 } -
trunk/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c
r62477 r62566 99 99 stac(); 100 100 #endif 101 RT_NOREF_PV(pNext); 101 102 102 103 AssertPtr(pThis); … … 133 134 stac(); 134 135 #endif 136 RT_NOREF_PV(iCpu); 135 137 136 138 AssertPtr(pThis); -
trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
r62477 r62566 1178 1178 PRTTIMERLINUXSTARTONCPUARGS pArgs = (PRTTIMERLINUXSTARTONCPUARGS)pvUser2; 1179 1179 PRTTIMER pTimer = (PRTTIMER)pvUser1; 1180 RT_NOREF_PV(idCpu); 1180 1181 rtTimerLnxStartSubTimer(&pTimer->aSubTimers[0], pArgs->u64Now, pArgs->u64First, true /*fPinned*/, pTimer->fHighRes); 1181 1182 } … … 1630 1631 RTDECL(int) RTTimerRequestSystemGranularity(uint32_t u32Request, uint32_t *pu32Granted) 1631 1632 { 1633 RT_NOREF_PV(u32Request); RT_NOREF_PV(*pu32Granted); 1632 1634 return VERR_NOT_SUPPORTED; 1633 1635 } … … 1637 1639 RTDECL(int) RTTimerReleaseSystemGranularity(uint32_t u32Granted) 1638 1640 { 1641 RT_NOREF_PV(u32Granted); 1639 1642 return VERR_NOT_SUPPORTED; 1640 1643 } -
trunk/src/VBox/Runtime/r0drv/memobj-r0drv.cpp
r62477 r62566 427 427 RT_ASSERT_PREEMPTIBLE(); 428 428 429 RT_NOREF_PV(pszTag); 430 429 431 /* do the allocation. */ 430 432 return rtR0MemObjNativeAllocPage(pMemObj, cbAligned, fExecutable); … … 443 445 RT_ASSERT_PREEMPTIBLE(); 444 446 447 RT_NOREF_PV(pszTag); 448 445 449 /* do the allocation. */ 446 450 return rtR0MemObjNativeAllocLow(pMemObj, cbAligned, fExecutable); … … 458 462 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER); 459 463 RT_ASSERT_PREEMPTIBLE(); 464 465 RT_NOREF_PV(pszTag); 460 466 461 467 /* do the allocation. */ … … 481 487 RT_ASSERT_PREEMPTIBLE(); 482 488 489 RT_NOREF_PV(pszTag); 490 483 491 /* do the locking. */ 484 492 return rtR0MemObjNativeLockUser(pMemObj, R3PtrAligned, cbAligned, fAccess, R0Process); … … 501 509 RT_ASSERT_PREEMPTIBLE(); 502 510 511 RT_NOREF_PV(pszTag); 512 503 513 /* do the allocation. */ 504 514 return rtR0MemObjNativeLockKernel(pMemObj, pvAligned, cbAligned, fAccess); … … 517 527 AssertReturn(PhysHighest >= cb, VERR_INVALID_PARAMETER); 518 528 RT_ASSERT_PREEMPTIBLE(); 529 530 RT_NOREF_PV(pszTag); 519 531 520 532 /* do the allocation. */ … … 548 560 RT_ASSERT_PREEMPTIBLE(); 549 561 562 RT_NOREF_PV(pszTag); 563 550 564 /* do the allocation. */ 551 565 return rtR0MemObjNativeAllocPhys(pMemObj, cbAligned, PhysHighest, uAlignment); … … 564 578 AssertReturn(PhysHighest >= cb, VERR_INVALID_PARAMETER); 565 579 RT_ASSERT_PREEMPTIBLE(); 580 581 RT_NOREF_PV(pszTag); 566 582 567 583 /* do the allocation. */ … … 586 602 RT_ASSERT_PREEMPTIBLE(); 587 603 604 RT_NOREF_PV(pszTag); 605 588 606 /* do the allocation. */ 589 607 return rtR0MemObjNativeEnterPhys(pMemObj, PhysAligned, cbAligned, uCachePolicy); … … 606 624 AssertReturn(!((uintptr_t)pvFixed & (uAlignment - 1)), VERR_INVALID_PARAMETER); 607 625 RT_ASSERT_PREEMPTIBLE(); 626 627 RT_NOREF_PV(pszTag); 608 628 609 629 /* do the reservation. */ … … 630 650 R0Process = RTR0ProcHandleSelf(); 631 651 RT_ASSERT_PREEMPTIBLE(); 652 653 RT_NOREF_PV(pszTag); 632 654 633 655 /* do the reservation. */ … … 675 697 RT_ASSERT_PREEMPTIBLE(); 676 698 699 RT_NOREF_PV(pszTag); 700 677 701 /* adjust the request to simplify the native code. */ 678 702 if (offSub == 0 && cbSub == pMemToMap->cb) … … 729 753 RT_ASSERT_PREEMPTIBLE(); 730 754 755 RT_NOREF_PV(pszTag); 756 731 757 /* do the mapping. */ 732 758 rc = rtR0MemObjNativeMapUser(&pNew, pMemToMap, R3PtrFixed, uAlignment, fProt, R0Process); -
trunk/src/VBox/Runtime/r3/xml.cpp
r62477 r62566 1471 1471 { 1472 1472 m_pcszName = (const char *)pLibAttr->name; 1473 RT_NOREF_PV(pElmRoot); 1473 1474 1474 1475 if ( pLibAttr->ns
Note:
See TracChangeset
for help on using the changeset viewer.