Browse Source

klondike - fix another uninit dev warning

nfactor-troky
Kano 11 years ago
parent
commit
5ce372e5df
  1. 1
      driver-klondike.c

1
driver-klondike.c

@ -1028,6 +1028,7 @@ static void *klondike_get_replies(void *userdata) @@ -1028,6 +1028,7 @@ static void *klondike_get_replies(void *userdata)
case KLN_CMD_WORK:
// We can't do/check this until it's initialised
if (klninfo->initialised) {
dev = kitem->kline.ws.dev;
if (kitem->kline.ws.workqc == 0) {
bool idle = false;
rd_lock(&(klninfo->stat_lock));

Loading…
Cancel
Save