]> git.ipfire.org Git - thirdparty/dbus.git/commit
meson: Disable some warnings when asserts/checks are disabled 412/head
authorSimon McVittie <smcv@collabora.com>
Tue, 6 Jun 2023 12:07:04 +0000 (13:07 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 7 Jun 2023 12:09:31 +0000 (12:09 +0000)
commitba515347cf36922e142bf9fad52a689ea25acc52
tree59097eb1ef5de41f7894d46c21817c72cc31143b
parent2ca68e954411b4f93f2290c480bd70526d1494b5
meson: Disable some warnings when asserts/checks are disabled

Some labels are only used when checks are enabled, and some variables
are only used when assertions and/or checks are enabled. Instead of
cluttering the code with extra #ifdefs, we silence those warnings:
they're harmless in this case. We already do this in Autotools.

Signed-off-by: Simon McVittie <smcv@collabora.com>
meson.build