diff options
author | Pete Batard <pete@akeo.ie> | 2011-11-02 13:42:52 +0000 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2011-11-02 13:47:35 +0000 |
commit | cf3b3dcdb7007694fac42c515b21bf9b0199856f (patch) | |
tree | ea13a480a97ac0959bfc69c01350141959b5af5c | |
parent | 3a1ff351bf673b0cb1c5336384adeef6e0ed150b (diff) | |
download | libusb-cf3b3dcdb7007694fac42c515b21bf9b0199856f.tar.gz |
[windows] fix Clang warnings about unused assignations
-rw-r--r-- | libusb/os/windows_usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c index 4b8cea8..2922d54 100644 --- a/libusb/os/windows_usb.c +++ b/libusb/os/windows_usb.c @@ -1214,7 +1214,7 @@ static int set_composite_interface(struct libusb_context* ctx, struct libusb_dev */ static int windows_get_device_list(struct libusb_context *ctx, struct discovered_devs **_discdevs) { - struct discovered_devs *discdevs = *_discdevs; + struct discovered_devs *discdevs; HDEVINFO dev_info = { 0 }; char* usb_class[2] = {"USB", "NUSB3"}; SP_DEVINFO_DATA dev_info_data; @@ -1293,7 +1293,6 @@ static int windows_get_device_list(struct libusb_context *ctx, struct discovered safe_free(dev_interface_details); safe_free(dev_interface_path); safe_free(dev_id_path); - session_id = 0; priv = parent_priv = NULL; dev = parent_dev = NULL; |