mirror of https://github.com/nealey/hdjd.git
Remove legacy cruft (thanks Screwtape)
This commit is contained in:
parent
795490e218
commit
2d1a2e5951
2
hdjd.c
2
hdjd.c
|
@ -21,7 +21,6 @@
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct libusb_version *version;
|
|
||||||
struct libusb_device_handle *handle;
|
struct libusb_device_handle *handle;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
@ -56,7 +55,6 @@ main(int argc, char **argv)
|
||||||
printf("%02x %02x %02x\n", data[i], data[i + 1], data[i + 2]);
|
printf("%02x %02x %02x\n", data[i], data[i + 1], data[i + 2]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (0);
|
|
||||||
|
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
printf("ERROR: %s\n", libusb_error_name(ret));
|
printf("ERROR: %s\n", libusb_error_name(ret));
|
||||||
|
|
Loading…
Reference in New Issue