Changeset 62564 in vbox for trunk/src/VBox/Runtime/generic
- Timestamp:
- Jul 26, 2016 2:43:03 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109133
- Location:
- trunk/src/VBox/Runtime/generic
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/RTFileReadAllFree-generic.cpp
r62477 r62564 45 45 */ 46 46 pvFile = (void *)((uintptr_t)pvFile - 32); 47 Assert(*(size_t *)pvFile == cbFile); 47 Assert(*(size_t *)pvFile == cbFile); RT_NOREF_PV(cbFile); 48 48 *(size_t *)pvFile = ~(size_t)1; 49 49 -
trunk/src/VBox/Runtime/generic/cdrom-generic.cpp
r62477 r62564 38 38 RTDECL(int) RTCdromOpen(const char *psz, uint32_t fFlags, PRTCDROM phCdrom) 39 39 { 40 RT_NOREF_PV(psz); RT_NOREF_PV(fFlags); RT_NOREF_PV(phCdrom); 40 41 return VERR_NOT_IMPLEMENTED; 41 42 } … … 44 45 RTDECL(uint32_t) RTCdromRetain(RTCDROM hCdrom) 45 46 { 47 RT_NOREF_PV(hCdrom); 46 48 AssertFailedReturn(UINT32_MAX); 47 49 } … … 50 52 RTDECL(uint32_t) RTCdromRelease(RTCDROM hCdrom) 51 53 { 54 RT_NOREF_PV(hCdrom); 52 55 AssertFailedReturn(UINT32_MAX); 53 56 } … … 56 59 RTDECL(int) RTCdromQueryMountPoint(RTCDROM hCdrom, char *pszMountPoint, size_t cbMountPoint) 57 60 { 61 RT_NOREF_PV(hCdrom); 62 RT_NOREF_PV(pszMountPoint); 63 RT_NOREF_PV(cbMountPoint); 58 64 AssertFailedReturn(VERR_NOT_IMPLEMENTED); 59 65 } … … 62 68 RTDECL(int) RTCdromUnmount(RTCDROM hCdrom) 63 69 { 70 RT_NOREF_PV(hCdrom); 64 71 AssertFailedReturn(VERR_NOT_IMPLEMENTED); 65 72 } … … 68 75 RTDECL(int) RTCdromEject(RTCDROM hCdrom, bool fForce) 69 76 { 77 RT_NOREF_PV(hCdrom); 78 RT_NOREF_PV(fForce); 70 79 AssertFailedReturn(VERR_NOT_IMPLEMENTED); 71 80 } … … 74 83 RTDECL(int) RTCdromLock(RTCDROM hCdrom) 75 84 { 85 RT_NOREF_PV(hCdrom); 76 86 AssertFailedReturn(VERR_NOT_IMPLEMENTED); 77 87 } … … 80 90 RTDECL(int) RTCdromUnlock(RTCDROM hCdrom) 81 91 { 92 RT_NOREF_PV(hCdrom); 82 93 AssertFailedReturn(VERR_NOT_IMPLEMENTED); 83 94 } … … 91 102 RTDECL(int) RTCdromOrdinalToName(unsigned iCdrom, char *pszName, size_t cbName) 92 103 { 104 RT_NOREF_PV(iCdrom); 93 105 if (cbName) 94 106 *pszName = '\0'; … … 99 111 RTDECL(int) RTCdromOpenByOrdinal(unsigned iCdrom, uint32_t fFlags, PRTCDROM phCdrom) 100 112 { 113 RT_NOREF_PV(iCdrom); 114 RT_NOREF_PV(fFlags); 115 RT_NOREF_PV(phCdrom); 101 116 return VERR_OUT_OF_RANGE; 102 117 } -
trunk/src/VBox/Runtime/generic/critsectrw-generic.cpp
r62556 r62564 927 927 RTDECL(bool) RTCritSectRwIsReadOwner(PRTCRITSECTRW pThis, bool fWannaHear) 928 928 { 929 RT_NOREF_PV(fWannaHear); 930 929 931 /* 930 932 * Validate handle. -
trunk/src/VBox/Runtime/generic/mempool-generic.cpp
r62477 r62564 380 380 Assert( hMemPool == NIL_RTMEMPOOL 381 381 || hMemPool == pEntry->pMemPool 382 || (hMemPool == RTMEMPOOL_DEFAULT && pEntry->pMemPool == &g_rtMemPoolDefault)); 382 || (hMemPool == RTMEMPOOL_DEFAULT && pEntry->pMemPool == &g_rtMemPoolDefault)); RT_NOREF_PV(hMemPool); 383 383 AssertReturn(pEntry->cRefs > 0, UINT32_MAX); 384 384 -
trunk/src/VBox/Runtime/generic/spinlock-generic.cpp
r62477 r62564 78 78 PRTSPINLOCKINTERNAL pThis; 79 79 AssertReturn(fFlags == RTSPINLOCK_FLAGS_INTERRUPT_SAFE || fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE, VERR_INVALID_PARAMETER); 80 RT_NOREF_PV(pszName); 80 81 81 82 /*
Note:
See TracChangeset
for help on using the changeset viewer.