diff options
author | Max Kellermann <max@duempel.org> | 2013-01-28 22:17:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-28 22:17:40 +0100 |
commit | 8ceea8581330dbda7aecbaf349734b7ae578b36e (patch) | |
tree | 991aa8668f8e58f7cff79b5b512b334b250bc6b9 | |
parent | d0a812d2df838252f84b303efee127c17576ecff (diff) |
DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaround
-rw-r--r-- | src/DatabaseLock.cxx | 5 | ||||
-rw-r--r-- | src/archive/Bzip2ArchivePlugin.cxx | 5 |
2 files changed, 0 insertions, 10 deletions
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) { |