fix warnings from GCC and Clang

This commit is contained in:
Lukas Wurzinger 2022-12-03 12:53:50 +01:00
parent cd5acee3bd
commit f0705dbefc
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,6 @@
cc = cc cc = cc
macros = -D NDEBUG macros = -D NDEBUG
cflags = -std=c99 -Wall -Wextra -Wpedantic -g $macros -O2 cflags = -std=c99 -Wno-missing-braces -Wall -Wextra -Wpedantic -g $macros -O2
ldflags = ldflags =
ldlibs = ldlibs =

View file

@ -94,11 +94,9 @@ int main(int argc, char **argv)
}, },
.arg.bounds.inf = 1, .arg.bounds.inf = 1,
}, },
{
{ {
0, 0,
}, },
},
}; };
struct readarg_arg opers[] = { struct readarg_arg opers[] = {