aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/DatabaseLock.cxx5
-rw-r--r--src/archive/Bzip2ArchivePlugin.cxx5
2 files changed, 0 insertions, 10 deletions
diff --git a/src/DatabaseLock.cxx b/src/DatabaseLock.cxx
index d0327d79..398e5aeb 100644
--- a/src/DatabaseLock.cxx
+++ b/src/DatabaseLock.cxx
@@ -21,11 +21,6 @@
#include "DatabaseLock.hxx"
#include "gcc.h"
-#if GCC_CHECK_VERSION(4, 2)
-/* workaround for a warning caused by G_STATIC_MUTEX_INIT */
-#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
-#endif
-
Mutex db_mutex;
#ifndef NDEBUG
diff --git a/src/archive/Bzip2ArchivePlugin.cxx b/src/archive/Bzip2ArchivePlugin.cxx
index 35373ed1..d98f24df 100644
--- a/src/archive/Bzip2ArchivePlugin.cxx
+++ b/src/archive/Bzip2ArchivePlugin.cxx
@@ -120,11 +120,6 @@ bz2_destroy(struct bz2_input_stream *data)
/* archive open && listing routine */
-#if GCC_CHECK_VERSION(4, 2)
-/* workaround for a warning caused by G_STATIC_MUTEX_INIT */
-#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
-#endif
-
static struct archive_file *
bz2_open(const char *pathname, GError **error_r)
{