From 8fc1e8c1c83a28a7fad6a65847688c3a90a4ca2d Mon Sep 17 00:00:00 2001 From: Dmitry Kychanov Date: Fri, 8 Mar 2024 02:04:36 +0400 Subject: [PATCH] Suppress warning for unused parameter --- mac/hid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mac/hid.c b/mac/hid.c index 019064854..201cbb894 100644 --- a/mac/hid.c +++ b/mac/hid.c @@ -850,6 +850,7 @@ static void hid_internal_invoke_callbacks(struct hid_device_info *info, hid_hotp static void hid_internal_hotplug_connect_callback(void *context, IOReturn result, void *sender, IOHIDDeviceRef device) { (void) context; + (void) result; (void) sender; struct hid_device_info* info = create_device_info(device); @@ -902,6 +903,7 @@ int match_ref_to_info(IOHIDDeviceRef device, struct hid_device_info *info) static void hid_internal_hotplug_disconnect_callback(void *context, IOReturn result, void *sender, IOHIDDeviceRef device) { (void) context; + (void) result; (void) sender; pthread_mutex_lock(&hid_hotplug_context.mutex);