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

klondike - fix isc uninit warning

This commit is contained in:
Kano 2013-10-29 19:17:44 +11:00
parent 2bfd8e2a10
commit 4153d907d4

View File

@ -1027,6 +1027,7 @@ static void *klondike_get_replies(void *userdata)
case KLN_CMD_ABORT: case KLN_CMD_ABORT:
// We can't do/check this until it's initialised // We can't do/check this until it's initialised
if (klninfo->initialised) { if (klninfo->initialised) {
isc = 0;
dev = kitem->kline.ws.dev; dev = kitem->kline.ws.dev;
wr_lock(&(klninfo->stat_lock)); wr_lock(&(klninfo->stat_lock));
klninfo->jobque[dev].workqc = (int)(kitem->kline.ws.workqc); klninfo->jobque[dev].workqc = (int)(kitem->kline.ws.workqc);