diff options
author | Simon Ser <contact@emersion.fr> | 2019-11-17 17:16:13 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-11-17 17:21:13 +0100 |
commit | cb905effde03b19b3e32aaf6ea1fee1ed82c9f33 (patch) | |
tree | 00f2a6d029765188785f4df9e3f63948cce3519e | |
parent | 8ffa3cf43906fa95c127c01b751590e77c7bf695 (diff) | |
download | sway-cb905effde03b19b3e32aaf6ea1fee1ed82c9f33.tar.xz |
Add -Wno-missing-braces
-Wmissing-braces makes it annoying to zero-initialize structs with = {0}
when the first field is a struct. See for instance [1].
[1]: https://builds.sr.ht/~sircmpwn/job/110425
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index d74861f1..160c921f 100644 --- a/meson.build +++ b/meson.build @@ -17,6 +17,7 @@ add_project_arguments( '-Wno-unused-parameter', '-Wno-unused-result', + '-Wno-missing-braces', '-Wundef', '-Wvla', ], |