Browse Source

Merge commit '825d883' into bfgminer

Luke Dashjr 12 years ago
parent
commit
9f12c392de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-icarus.c

+ 1 - 1
driver-icarus.c

@@ -897,7 +897,7 @@ static int64_t icarus_scanhash(struct thr_info *thr, struct work *work,
 	uint32_t nonce;
 	struct work *nonce_work;
 	int64_t hash_count;
-	struct timeval tv_start, elapsed;
+	struct timeval tv_start = {.tv_sec=0}, elapsed;
 	struct timeval tv_history_start, tv_history_finish;
 	double Ti, Xi;
 	int i;