mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-08 13:04:27 +00:00
klondike - fix another uninit dev warning
This commit is contained in:
parent
b4eb870af0
commit
5ce372e5df
@ -1028,6 +1028,7 @@ static void *klondike_get_replies(void *userdata)
|
|||||||
case KLN_CMD_WORK:
|
case KLN_CMD_WORK:
|
||||||
// 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) {
|
||||||
|
dev = kitem->kline.ws.dev;
|
||||||
if (kitem->kline.ws.workqc == 0) {
|
if (kitem->kline.ws.workqc == 0) {
|
||||||
bool idle = false;
|
bool idle = false;
|
||||||
rd_lock(&(klninfo->stat_lock));
|
rd_lock(&(klninfo->stat_lock));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user