mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson: enable some more warnings
Fix some warnings
This commit is contained in:
parent
c4ca245b24
commit
4660e16d5b
3 changed files with 4 additions and 2 deletions
|
|
@ -77,10 +77,12 @@ common_flags = [
|
|||
'-Wmissing-braces',
|
||||
'-Wtype-limits',
|
||||
'-Wvariadic-macros',
|
||||
'-Wmaybe-uninitialized',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-unused-parameter',
|
||||
'-Wno-pedantic',
|
||||
'-Wold-style-declaration',
|
||||
'-Wdeprecated-declarations',
|
||||
'-Wunused-result',
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ static void unescape(const char *src, char *dst)
|
|||
{
|
||||
const char *s;
|
||||
char *d;
|
||||
int h1, h2;
|
||||
int h1 = 0, h2 = 0;
|
||||
enum { TEXT, BACKSLASH, EX, FIRST } state = TEXT;
|
||||
|
||||
for (s = src, d = dst; *s; s++) {
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ static void unescape(const char *src, char *dst)
|
|||
{
|
||||
const char *s;
|
||||
char *d;
|
||||
int h1, h2;
|
||||
int h1 = 0, h2 = 0;
|
||||
enum { TEXT, BACKSLASH, EX, FIRST } state = TEXT;
|
||||
|
||||
for (s = src, d = dst; *s; s++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue