From 957eefc56dd09076f1989435242ea14db7cb91f5 Mon Sep 17 00:00:00 2001 From: Rheno Manggala Budiasa Date: Sun, 29 May 2022 13:01:09 +0800 Subject: [PATCH] Set no error for 'unused-but-set-variable' warning Signed-off-by: Rheno Manggala Budiasa --- config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 8682e937..eb391b99 100644 --- a/config.mk +++ b/config.mk @@ -47,7 +47,8 @@ CFLAGS_WARN := \ -Wno-unknown-warning-option \ -Wno-unused-macros \ -Wno-switch-enum \ - -Wno-poison-system-directories + -Wno-poison-system-directories \ + -Wno-error=unused-but-set-variable CFLAGS_DIAG := \ -fmessage-length=152 \