[MacOS] Potential issues reported by clang (low to medium priority) #664

Open
opened 2024-03-08 07:29:44 -06:00 by k1-801 · 0 comments
k1-801 commented 2024-03-08 07:29:44 -06:00 (Migrated from github.com)

Clang produces the following warnings:

image

It might be a good idea to address them to avoid seemingly random crashes.

Additionally, the kernel error returned in HID device path generation code seems to remain ignored, and if the path fails to generate, it will still proceed to create the structure, even though the device will not be able to be opened. Might be worth looking into.

Clang produces the following warnings: ![image](https://github.com/libusb/hidapi/assets/6378571/3b7bab7d-c11d-4798-b5e2-822811b6f63d) It might be a good idea to address them to avoid seemingly random crashes. Additionally, the kernel error returned in HID device path generation code seems to remain ignored, and if the path fails to generate, it will still proceed to create the structure, even though the device will not be able to be opened. Might be worth looking into.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-libusb/hidapi#664
No description provided.