From 7a5da23b0c4382a66f5c0537e6215fef375836e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 6 Feb 2023 14:45:38 +0800 Subject: [PATCH] Bluetooth: silense compiler warnings --- src/detection/bluetooth/bluetooth_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/bluetooth/bluetooth_linux.c b/src/detection/bluetooth/bluetooth_linux.c index 82aba4e77..bcfca6e7d 100644 --- a/src/detection/bluetooth/bluetooth_linux.c +++ b/src/detection/bluetooth/bluetooth_linux.c @@ -197,6 +197,7 @@ void ffDetectBluetoothImpl(const FFinstance* instance, FFBluetoothResult* blueto #ifdef FF_HAVE_DBUS ffStrbufAppendS(&bluetooth->error, detectBluetooth(instance, bluetooth)); #else + FF_UNUSED(instance); ffStrbufAppendS(&bluetooth->error, "Fastfetch was compiled without DBus support"); #endif }