1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00

Merge pull request #341 from kanoi/usb2

usbutils.c remove compiler warning
This commit is contained in:
Con Kolivas 2012-12-03 16:27:16 -08:00
commit b96dd780fa

View File

@ -1133,6 +1133,7 @@ int _usb_read(struct cgpu_info *cgpu, int ep, char *buf, size_t bufsiz, int *pro
}
tot = 0;
err = LIBUSB_SUCCESS;
while (bufsiz) {
got = 0;
STATS_TIMEVAL(&tv_start);