mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-21 00:45:21 -04:00
skip is defaulted to 1. There is no need to re-set it to 1.
This commit is contained in:
@@ -317,9 +317,6 @@ struct hid_device_info HID_API_EXPORT *hid_enumerate(unsigned short vendor_id,
|
||||
}
|
||||
libusb_free_config_descriptor(conf_desc);
|
||||
}
|
||||
else {
|
||||
skip = 1;
|
||||
}
|
||||
|
||||
if (skip)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user