From 84ee7cef7c0ffb275d607e7cbc51e25bc09ec319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 22 Apr 2024 23:38:43 +0800 Subject: [PATCH] DE (Linux): silence warnings --- src/detection/de/de_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detection/de/de_linux.c b/src/detection/de/de_linux.c index 9443d55fd..6c456495e 100644 --- a/src/detection/de/de_linux.c +++ b/src/detection/de/de_linux.c @@ -43,7 +43,7 @@ static void getKDE(FFstrbuf* result, FFDEOptions* options) } } -static const char* getGnomeBySo(FFstrbuf* result) +static const char* getGnomeByDbus(FF_MAYBE_UNUSED FFstrbuf* result) { #ifdef FF_HAVE_DBUS FFDBusData dbus; @@ -59,7 +59,7 @@ static const char* getGnomeBySo(FFstrbuf* result) static void getGnome(FFstrbuf* result, FF_MAYBE_UNUSED FFDEOptions* options) { - getGnomeBySo(result); + getGnomeByDbus(result); if (result->length == 0 && options->slowVersionDetection) {