diff options
author | Ján Tomko <jtomko@redhat.com> | 2021-09-03 16:39:36 +0200 |
---|---|---|
committer | Ján Tomko <jtomko@redhat.com> | 2021-09-08 16:19:55 +0200 |
commit | 33761790925765c696d831cb43c03e446770ec4c (patch) | |
tree | 61997d9f87a087e8f42f3014a589bfa3a788c25c /build-aux/syntax-check.mk | |
parent | eec09bcae65f83325364c2f0673801319b3637e5 (diff) | |
download | libvirt-33761790925765c696d831cb43c03e446770ec4c.tar.gz |
Revert "meson: avoid bogus warnings from clang and g_autoptr"
Commit 345996c6208b281233074362a8d81295e2e711d4 disabled the
-Wunused-but-set-variable warning on CLang, beacuse it warned
on variables that were unread, but we relied on the side effects
of their destructors.
Reinstate the warning now that all the occurrences have been fixed.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'build-aux/syntax-check.mk')
-rw-r--r-- | build-aux/syntax-check.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 5c5a2a8771..2058af0b77 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1589,7 +1589,7 @@ exclude_file_name_regexp--sc_prohibit_canonicalize_file_name = \ ^(build-aux/syntax-check\.mk|tests/virfilemock\.c)$$ exclude_file_name_regexp--sc_prohibit_raw_allocation = \ - ^(meson\.build|docs/advanced-tests\.rst|src/util/viralloc\.[ch]|examples/.*|tests/(securityselinuxhelper|(vircgroup|nss)mock|commandhelper)\.c|tools/wireshark/src/packet-libvirt\.c|tools/nss/libvirt_nss(_leases|_macs)?\.c)$$ + ^(docs/advanced-tests\.rst|src/util/viralloc\.[ch]|examples/.*|tests/(securityselinuxhelper|(vircgroup|nss)mock|commandhelper)\.c|tools/wireshark/src/packet-libvirt\.c|tools/nss/libvirt_nss(_leases|_macs)?\.c)$$ exclude_file_name_regexp--sc_prohibit_readlink = \ ^src/(util/virutil|lxc/lxc_container)\.c$$ |