Index: /trunk/src/VBox/Runtime/common/misc/once.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/misc/once.cpp	(revision 38887)
+++ /trunk/src/VBox/Runtime/common/misc/once.cpp	(revision 38888)
@@ -208,5 +208,5 @@
 
             int32_t cRefs = ASMAtomicIncS32(&pOnce->cEventRefs);
-            Assert(cRefs > 1);
+            Assert(cRefs > 1); NOREF(cRefs);
 
             RTSEMEVENTMULTI hEvtM;
@@ -256,4 +256,5 @@
               && iState == RTONCESTATE_UNINITIALIZED,
               ("%d\n", iState));
+    NOREF(iState);
 
     /* Do the same as RTONCE_INITIALIZER does. */
