Commit b1a3b012ddb497e606afa0ae955aabc116eb4d46

Kano 2013-09-22T23:16:21

pool_active uninitialised_var rolltime

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index a3e8571..1677790 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -5571,7 +5571,7 @@ static bool pool_active(struct pool *pool, bool pinging)
 	bool ret = false;
 	json_t *val;
 	CURL *curl;
-	int rolltime;
+	int uninitialised_var(rolltime);
 
 	if (pool->has_gbt)
 		applog(LOG_DEBUG, "Retrieving block template from pool %s", pool->rpc_url);