diff --git a/src/DatabaseLock.cxx b/src/DatabaseLock.cxx index d0327d794..398e5aebb 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 35373ed19..d98f24dff 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) {