Browse Source

bitfury: Silence warning about (never possible) uninitialised variable use

Luke Dashjr 12 years ago
parent
commit
7bdf42fe6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-bitfury.c

+ 1 - 1
driver-bitfury.c

@@ -486,7 +486,7 @@ void bitfury_do_io(struct thr_info * const master_thr)
 	int n, i, j;
 	int n, i, j;
 	bool newjob;
 	bool newjob;
 	uint32_t nonce;
 	uint32_t nonce;
-	int n_chips = 0, lastchip;
+	int n_chips = 0, lastchip = 0;
 	struct spi_port *spi = NULL;
 	struct spi_port *spi = NULL;
 	bool should_be_running;
 	bool should_be_running;