Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
4feb57e8
Commit
4feb57e8
authored
Apr 04, 2012
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db_lock, archive/bz2, ...: workaround for G_STATIC_MUTEX_INIT warning
parent
712e3eb1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
bz2_archive_plugin.c
src/archive/bz2_archive_plugin.c
+5
-0
db_lock.c
src/db_lock.c
+6
-0
No files found.
src/archive/bz2_archive_plugin.c
View file @
4feb57e8
...
...
@@ -103,6 +103,11 @@ 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
)
{
...
...
src/db_lock.c
View file @
4feb57e8
...
...
@@ -19,6 +19,12 @@
#include "config.h"
#include "db_lock.h"
#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
GStaticMutex
db_mutex
=
G_STATIC_MUTEX_INIT
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment