aboutsummaryrefslogtreecommitdiff
path: root/src/TagPool.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/TagPool.cxx')
-rw-r--r--src/TagPool.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/TagPool.cxx b/src/TagPool.cxx
index ce715a15..f529cda6 100644
--- a/src/TagPool.cxx
+++ b/src/TagPool.cxx
@@ -22,17 +22,7 @@
#include <assert.h>
-#if GCC_CHECK_VERSION(4, 2)
-/* workaround for a warning caused by G_STATIC_MUTEX_INIT */
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
-#endif
-
-GStaticMutex tag_pool_lock = G_STATIC_MUTEX_INIT;
-
-#if GCC_CHECK_VERSION(4, 2)
-#pragma GCC diagnostic pop
-#endif
+Mutex tag_pool_lock;
#define NUM_SLOTS 4096