DatabaseLock, input/bzip2: remove obsolete Glib/gcc workaround
This commit is contained in:
parent
d0a812d2df
commit
8ceea85813
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user