hidapi icon indicating copy to clipboard operation
hidapi copied to clipboard

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

Open k1-801 opened this issue 1 year ago • 0 comments

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.

k1-801 avatar Mar 08 '24 13:03 k1-801