mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Merge pull request #341 from kanoi/usb2
usbutils.c remove compiler warning
This commit is contained in:
commit
b96dd780fa
@ -1133,6 +1133,7 @@ int _usb_read(struct cgpu_info *cgpu, int ep, char *buf, size_t bufsiz, int *pro
|
|||||||
}
|
}
|
||||||
|
|
||||||
tot = 0;
|
tot = 0;
|
||||||
|
err = LIBUSB_SUCCESS;
|
||||||
while (bufsiz) {
|
while (bufsiz) {
|
||||||
got = 0;
|
got = 0;
|
||||||
STATS_TIMEVAL(&tv_start);
|
STATS_TIMEVAL(&tv_start);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user