--- sal/inc/osl/doublecheckedlocking.h-	2005-09-08 16:26:53.000000000 +0200
+++ sal/inc/osl/doublecheckedlocking.h	2005-09-08 16:26:53.000000000 +0200
@@ -80,7 +80,7 @@
     One extra advantage of this macro is that it makes it easier to find all
     places where double-checked locking is used.
  */
-#define OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER() /* empty */
+#define OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER() { ; } /* empty without warning */
 
 #if defined __cplusplus
 }

