Skip to content

Commit

Permalink
Suppress warning for unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
k1-801 committed Mar 7, 2024
1 parent 7b03e6a commit 8fc1e8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mac/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8fc1e8c

Please sign in to comment.