Browse Source

klondike - fix isc uninit warning

nfactor-troky
Kano 11 years ago
parent
commit
4153d907d4
  1. 1
      driver-klondike.c

1
driver-klondike.c

@ -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);

Loading…
Cancel
Save