Commit 8ceea858 authored by Max Kellermann's avatar Max Kellermann

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

parent d0a812d2
......@@ -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
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment