Skip to content

Commit

Permalink
windows: add a 'default' label to shut down -Wswitch warnings/errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vovkos committed Sep 28, 2023
1 parent 518e365 commit 3c2d502
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions windows/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,10 @@ static struct hid_device_info *hid_internal_get_device_info(const wchar_t *path,
if (detect_bus_type_result.bus_flags & HID_API_BUS_FLAG_BLE)
hid_internal_get_ble_info(dev, detect_bus_type_result.dev_node);
break;

default:
/* shut down -Wswitch */
break;
}

return dev;
Expand Down

0 comments on commit 3c2d502

Please sign in to comment.