Index: /trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DevIchAc97.cpp	(revision 73650)
+++ /trunk/src/VBox/Devices/Audio/DevIchAc97.cpp	(revision 73651)
@@ -1440,6 +1440,7 @@
     if (pStream->u8SD == AC97SOUNDSOURCE_PO_INDEX) /* Output (SDO). */
     {
+#ifdef LOG_ENABLED
         const uint64_t deltaLastUpdateNs = RTTimeNanoTS() - pStream->State.tsLastUpdateNs;
-
+#endif
         pStream->State.tsLastUpdateNs = RTTimeNanoTS();
 
