Index: trunk/src/VBox/Runtime/generic/RTFileReadAllFree-generic.cpp
===================================================================
--- trunk/src/VBox/Runtime/generic/RTFileReadAllFree-generic.cpp	(revision 62556)
+++ trunk/src/VBox/Runtime/generic/RTFileReadAllFree-generic.cpp	(revision 62564)
@@ -45,5 +45,5 @@
      */
     pvFile = (void *)((uintptr_t)pvFile - 32);
-    Assert(*(size_t *)pvFile == cbFile);
+    Assert(*(size_t *)pvFile == cbFile); RT_NOREF_PV(cbFile);
     *(size_t *)pvFile = ~(size_t)1;
 
Index: trunk/src/VBox/Runtime/generic/cdrom-generic.cpp
===================================================================
--- trunk/src/VBox/Runtime/generic/cdrom-generic.cpp	(revision 62556)
+++ trunk/src/VBox/Runtime/generic/cdrom-generic.cpp	(revision 62564)
@@ -38,4 +38,5 @@
 RTDECL(int) RTCdromOpen(const char *psz, uint32_t fFlags, PRTCDROM phCdrom)
 {
+    RT_NOREF_PV(psz); RT_NOREF_PV(fFlags); RT_NOREF_PV(phCdrom);
     return VERR_NOT_IMPLEMENTED;
 }
@@ -44,4 +45,5 @@
 RTDECL(uint32_t) RTCdromRetain(RTCDROM hCdrom)
 {
+    RT_NOREF_PV(hCdrom);
     AssertFailedReturn(UINT32_MAX);
 }
@@ -50,4 +52,5 @@
 RTDECL(uint32_t)    RTCdromRelease(RTCDROM hCdrom)
 {
+    RT_NOREF_PV(hCdrom);
     AssertFailedReturn(UINT32_MAX);
 }
@@ -56,4 +59,7 @@
 RTDECL(int) RTCdromQueryMountPoint(RTCDROM hCdrom, char *pszMountPoint, size_t cbMountPoint)
 {
+    RT_NOREF_PV(hCdrom);
+    RT_NOREF_PV(pszMountPoint);
+    RT_NOREF_PV(cbMountPoint);
     AssertFailedReturn(VERR_NOT_IMPLEMENTED);
 }
@@ -62,4 +68,5 @@
 RTDECL(int)         RTCdromUnmount(RTCDROM hCdrom)
 {
+    RT_NOREF_PV(hCdrom);
     AssertFailedReturn(VERR_NOT_IMPLEMENTED);
 }
@@ -68,4 +75,6 @@
 RTDECL(int)         RTCdromEject(RTCDROM hCdrom, bool fForce)
 {
+    RT_NOREF_PV(hCdrom);
+    RT_NOREF_PV(fForce);
     AssertFailedReturn(VERR_NOT_IMPLEMENTED);
 }
@@ -74,4 +83,5 @@
 RTDECL(int)         RTCdromLock(RTCDROM hCdrom)
 {
+    RT_NOREF_PV(hCdrom);
     AssertFailedReturn(VERR_NOT_IMPLEMENTED);
 }
@@ -80,4 +90,5 @@
 RTDECL(int)         RTCdromUnlock(RTCDROM hCdrom)
 {
+    RT_NOREF_PV(hCdrom);
     AssertFailedReturn(VERR_NOT_IMPLEMENTED);
 }
@@ -91,4 +102,5 @@
 RTDECL(int)         RTCdromOrdinalToName(unsigned iCdrom, char *pszName, size_t cbName)
 {
+    RT_NOREF_PV(iCdrom);
     if (cbName)
         *pszName = '\0';
@@ -99,4 +111,7 @@
 RTDECL(int)         RTCdromOpenByOrdinal(unsigned iCdrom, uint32_t fFlags, PRTCDROM phCdrom)
 {
+    RT_NOREF_PV(iCdrom);
+    RT_NOREF_PV(fFlags);
+    RT_NOREF_PV(phCdrom);
     return VERR_OUT_OF_RANGE;
 }
Index: trunk/src/VBox/Runtime/generic/critsectrw-generic.cpp
===================================================================
--- trunk/src/VBox/Runtime/generic/critsectrw-generic.cpp	(revision 62556)
+++ trunk/src/VBox/Runtime/generic/critsectrw-generic.cpp	(revision 62564)
@@ -927,4 +927,6 @@
 RTDECL(bool) RTCritSectRwIsReadOwner(PRTCRITSECTRW pThis, bool fWannaHear)
 {
+    RT_NOREF_PV(fWannaHear);
+
     /*
      * Validate handle.
Index: trunk/src/VBox/Runtime/generic/mempool-generic.cpp
===================================================================
--- trunk/src/VBox/Runtime/generic/mempool-generic.cpp	(revision 62556)
+++ trunk/src/VBox/Runtime/generic/mempool-generic.cpp	(revision 62564)
@@ -380,5 +380,5 @@
     Assert(    hMemPool == NIL_RTMEMPOOL
            ||  hMemPool == pEntry->pMemPool
-           ||  (hMemPool == RTMEMPOOL_DEFAULT && pEntry->pMemPool == &g_rtMemPoolDefault));
+           ||  (hMemPool == RTMEMPOOL_DEFAULT && pEntry->pMemPool == &g_rtMemPoolDefault)); RT_NOREF_PV(hMemPool);
     AssertReturn(pEntry->cRefs > 0, UINT32_MAX);
 
Index: trunk/src/VBox/Runtime/generic/spinlock-generic.cpp
===================================================================
--- trunk/src/VBox/Runtime/generic/spinlock-generic.cpp	(revision 62556)
+++ trunk/src/VBox/Runtime/generic/spinlock-generic.cpp	(revision 62564)
@@ -78,4 +78,5 @@
     PRTSPINLOCKINTERNAL pThis;
     AssertReturn(fFlags == RTSPINLOCK_FLAGS_INTERRUPT_SAFE || fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE, VERR_INVALID_PARAMETER);
+    RT_NOREF_PV(pszName);
 
     /*
