Turn -Wunused-but-set-variable to warning

As #2555 turned out some glib headers are imposing that so let's turn it to warning
This commit is contained in:
Ebrahim Byagowi 2020-08-09 16:10:06 +04:30 committed by ebraminio
parent 5193357832
commit 0ca3557048
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@
#pragma GCC diagnostic warning "-Wmaybe-uninitialized" #pragma GCC diagnostic warning "-Wmaybe-uninitialized"
#pragma GCC diagnostic warning "-Wmissing-format-attribute" #pragma GCC diagnostic warning "-Wmissing-format-attribute"
#pragma GCC diagnostic warning "-Wundef" #pragma GCC diagnostic warning "-Wundef"
#pragma GCC diagnostic warning "-Wunused-but-set-variable"
#endif #endif
/* Ignored currently, but should be fixed at some point. */ /* Ignored currently, but should be fixed at some point. */