Commit f7b79e34cf7ee6c395f9703511a027a0a3248c0d

Con Kolivas 2012-10-27T12:33:46

Redundant check.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 2cd1955..cc7f209 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -3159,8 +3159,6 @@ static void set_curblock(char *hexstr, unsigned char *hash)
 
 	get_timestamp(blocktime, &block_timeval);
 
-	if (unlikely(!current_hash))
-		quit (1, "set_curblock OOM");
 	applog(LOG_INFO, "New block: %s...", current_hash);
 }