]> sigrok.org Git - libsigrok.git/commit
No need to check return value of libusb_get_device_descriptor().
authorBert Vermeulen <redacted>
Sat, 19 Sep 2015 15:59:54 +0000 (17:59 +0200)
committerUwe Hermann <redacted>
Sun, 20 Sep 2015 22:25:40 +0000 (00:25 +0200)
commit2a8f2d41adcd0aa9e498c4eea2a5f82263039e5c
treefbd26c9abcca634f709210415bf83b8890da6fc8
parent8de8551b8809b0818c20690c3014df6e6c4ee7fc
No need to check return value of libusb_get_device_descriptor().

Since libusb 1.0.16 this is guaranteed to always succeed.

This fixes bug #658.
src/hardware/fx2lafw/api.c
src/hardware/fx2lafw/protocol.c
src/hardware/hantek-dso/api.c
src/hardware/hantek-dso/dso.c
src/hardware/saleae-logic16/api.c
src/hardware/testo/api.c
src/hardware/victor-dmm/api.c
src/hardware/zeroplus-logic-cube/api.c
src/scpi/scpi_usbtmc_libusb.c