diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-07 07:03:13 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-08-07 13:34:36 +0200 |
commit | f548bc4011bcdab008b125b9d0993817efa00718 (patch) | |
tree | 2f516ef446a9dc16a45bd281cd81e6139192d837 /meson.build | |
parent | Merge pull request #33951 from DaanDeMeyer/nspawn (diff) | |
download | systemd-f548bc4011bcdab008b125b9d0993817efa00718.tar.xz systemd-f548bc4011bcdab008b125b9d0993817efa00718.zip |
meson: enable -Wunterminated-string-initialization
With af1a6db58fde8f64edcf7d27e1f3b636c999934c, now we can build with the
option.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 09e7c81c59..cef6ab9cb8 100644 --- a/meson.build +++ b/meson.build @@ -399,6 +399,7 @@ possible_common_cc_flags = [ '-Wstrict-aliasing=2', '-Wstrict-prototypes', '-Wsuggest-attribute=noreturn', + '-Wunterminated-string-initialization', '-Wunused-function', '-Wwrite-strings', '-Wzero-length-bounds', |