Commit 1ceac2a79f4ea58fb78c48a346e8c5e02fd404d9

Kano 2014-01-20T01:26:04

bab restore removed unused flag

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-bab.c b/driver-bab.c
index 128819d..ae51add 100644
--- a/driver-bab.c
+++ b/driver-bab.c
@@ -1464,7 +1464,7 @@ static void process_history(struct bab_info *babinfo, int chip, struct timeval *
  * item for the chip
  * Discard any work items older than a match or older than BAB_WORK_EXPIRE_mS
  */
-static bool oknonce(struct thr_info *thr, struct cgpu_info *babcgpu, int chip, uint32_t raw_nonce, struct timeval *when)
+static bool oknonce(struct thr_info *thr, struct cgpu_info *babcgpu, int chip, uint32_t raw_nonce, __maybe_unused struct timeval *when)
 {
 	struct bab_info *babinfo = (struct bab_info *)(babcgpu->device_data);
 	unsigned int links, proc_links, work_links, tests;