Index: /trunk/src/VBox/Devices/Storage/Debug.cpp
===================================================================
--- /trunk/src/VBox/Devices/Storage/Debug.cpp	(revision 61948)
+++ /trunk/src/VBox/Devices/Storage/Debug.cpp	(revision 61949)
@@ -288,4 +288,8 @@
     ""                                     /* 0xff */
 };
+
+#endif /* LOG_ENABLED */
+
+#if defined(LOG_ENABLED) || defined(RT_STRICT)
 
 /**
@@ -892,4 +896,8 @@
 };
 
+#endif /* LOG_ENABLED || RT_STRICT */
+
+#ifdef LOG_ENABLED
+
 /**
  * Return the plain text of an ATA command for debugging purposes.
@@ -902,5 +910,5 @@
 }
 
-#endif /* LOG_ENABLED */
+#endif
 
 #if defined(LOG_ENABLED) || defined(RT_STRICT)
