From 0ca35570481ee16c44577913263032726a0c0a51 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Sun, 9 Aug 2020 16:10:06 +0430 Subject: [PATCH] Turn -Wunused-but-set-variable to warning As #2555 turned out some glib headers are imposing that so let's turn it to warning --- src/hb.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb.hh b/src/hb.hh index 203267e83..274a0e98d 100644 --- a/src/hb.hh +++ b/src/hb.hh @@ -107,6 +107,7 @@ #pragma GCC diagnostic warning "-Wmaybe-uninitialized" #pragma GCC diagnostic warning "-Wmissing-format-attribute" #pragma GCC diagnostic warning "-Wundef" +#pragma GCC diagnostic warning "-Wunused-but-set-variable" #endif /* Ignored currently, but should be fixed at some point. */