diff options
author | Christoph Haag <haagch@frickel.club> | 2018-01-15 17:10:55 +0100 |
---|---|---|
committer | Christoph Haag <haagch@frickel.club> | 2018-01-15 17:12:40 +0100 |
commit | c570809ce1d1cc1d30ef4db547e6388b3fd80ac1 (patch) | |
tree | f293b454dceec027a67b9e670c1c2708e862c438 /src/survive_vive.c | |
parent | 91fc90bf9171fe588fd11492bdae7419d5ccd921 (diff) | |
download | libsurvive-c570809ce1d1cc1d30ef4db547e6388b3fd80ac1.tar.gz libsurvive-c570809ce1d1cc1d30ef4db547e6388b3fd80ac1.tar.bz2 |
fix various -Wall warnings
Diffstat (limited to 'src/survive_vive.c')
-rwxr-xr-x | src/survive_vive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/survive_vive.c b/src/survive_vive.c index 65636cf..934b5d3 100755 --- a/src/survive_vive.c +++ b/src/survive_vive.c @@ -309,8 +309,8 @@ static inline int getupdate_feature_report(libusb_device_handle* dev, uint16_t i int ret = libusb_control_transfer(dev, LIBUSB_REQUEST_TYPE_CLASS | LIBUSB_RECIPIENT_INTERFACE | LIBUSB_ENDPOINT_IN, 0x01, 0x300 | data[0], interface, data, datalen, 1000 ); if( ret == -9 ) return -9; - if (ret < 0) - return -1; + if (ret < 0) + return -1; return ret; } |