1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Fix mingw build warnings in icarus driver.

This commit is contained in:
Con Kolivas 2013-05-30 17:55:24 +10:00
parent 56a20e0125
commit 2577992436

View File

@ -724,7 +724,7 @@ static bool icarus_detect_one(struct libusb_device *dev, struct usb_find_devices
const uint32_t golden_nonce_val = 0x000187a2; const uint32_t golden_nonce_val = 0x000187a2;
unsigned char ob_bin[64], nonce_bin[ICARUS_READ_SIZE]; unsigned char ob_bin[64], nonce_bin[ICARUS_READ_SIZE];
char *nonce_hex; char *nonce_hex;
int baud, work_division, fpga_count; int baud, uninitialised_var(work_division), uninitialised_var(fpga_count);
struct cgpu_info *icarus; struct cgpu_info *icarus;
int ret, err, amount, tries; int ret, err, amount, tries;
bool ok; bool ok;