From 5a15638db35c152e701699faac160347f25b0725 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Mon, 9 May 2022 11:08:14 +0200 Subject: [PATCH] meson: Enable warning for unused variables --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index a8de781..31db00e 100644 --- a/meson.build +++ b/meson.build @@ -103,6 +103,7 @@ test_c_args = [ '-Wno-switch-enum', '-Wtype-limits', '-Wunused-function', + '-Wunused-variable', '-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_64', '-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_70', # see https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/332