Index: ext/libicpf/src/mutex.cpp
===================================================================
diff -u -N -rd4269744a04d36c8a8146a84bc27118031fa42ac -r30ed05249d32bbb24596169c77afa3c878299cb3
--- ext/libicpf/src/mutex.cpp	(.../mutex.cpp)	(revision d4269744a04d36c8a8146a84bc27118031fa42ac)
+++ ext/libicpf/src/mutex.cpp	(.../mutex.cpp)	(revision 30ed05249d32bbb24596169c77afa3c878299cb3)
@@ -80,6 +80,7 @@
 #endif
 }
 
+#ifdef ENABLE_MUTEX_DEBUGGING
 /** Locks this mutex using an underlying, system-dependent locking mechanism.
  *  This is a compatibility layer over d_mutex. This class does not use any of the
  *  parameters given - they are only to allow seamless migration to/from the d_mutex.
@@ -100,4 +101,6 @@
 	unlock();
 }
 
+#endif
+
 END_ICPF_NAMESPACE