Commit 4153d907d414a467e3a37f100f7a739fd6fa033c

Kano 2013-10-29T19:17:44

klondike - fix isc uninit warning

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/driver-klondike.c b/driver-klondike.c
index 8648dde..deb87f1 100644
--- a/driver-klondike.c
+++ b/driver-klondike.c
@@ -1027,6 +1027,7 @@ static void *klondike_get_replies(void *userdata)
 				case KLN_CMD_ABORT:
 					// We can't do/check this until it's initialised
 					if (klninfo->initialised) {
+						isc = 0;
 						dev = kitem->kline.ws.dev;
 						wr_lock(&(klninfo->stat_lock));
 						klninfo->jobque[dev].workqc = (int)(kitem->kline.ws.workqc);