DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaround

This commit is contained in:
Max Kellermann 2013-01-28 22:17:36 +01:00
parent d0a812d2df
commit 8ceea85813
2 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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)
{