From 6a49ae60a13579f8e6a522cbb62f9069ba513087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sat, 17 Dec 2022 12:34:21 +0800 Subject: [PATCH] Locale: silence warnings (Windows) --- src/detection/locale/locale.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/locale/locale.c b/src/detection/locale/locale.c index 6108f7e51..7b9e085cf 100644 --- a/src/detection/locale/locale.c +++ b/src/detection/locale/locale.c @@ -5,6 +5,7 @@ #include #include +__attribute__((__unused__)) static void getLocaleFromEnv(FFstrbuf* locale) { ffStrbufAppendS(locale, getenv("LANG"));