Commit 98de751416740bcb48ca7504edd65ed27bafacc6

Jeff Garzik 2011-02-04T02:55:55

sha*.c: remove debug statement, which is redundant to hashmeter output

diff --git a/sha256_cryptopp.c b/sha256_cryptopp.c
index 47d4921..eed3a52 100644
--- a/sha256_cryptopp.c
+++ b/sha256_cryptopp.c
@@ -116,8 +116,6 @@ bool scanhash_cryptopp(const unsigned char *midstate, unsigned char *data,
 		}
 
 		if (n >= max_nonce) {
-			if (opt_debug)
-				fprintf(stderr, "DBG: end of nonce range\n");
 			*hashes_done = stat_ctr;
 			return false;
 		}
diff --git a/sha256_generic.c b/sha256_generic.c
index cc23fc1..e63b8a3 100644
--- a/sha256_generic.c
+++ b/sha256_generic.c
@@ -262,8 +262,6 @@ bool scanhash_c(const unsigned char *midstate, unsigned char *data,
 		}
 
 		if (n >= max_nonce) {
-			if (opt_debug)
-				fprintf(stderr, "DBG: end of nonce range\n");
 			*hashes_done = stat_ctr;
 			return false;
 		}
diff --git a/sha256_via.c b/sha256_via.c
index a15c664..39f86a5 100644
--- a/sha256_via.c
+++ b/sha256_via.c
@@ -71,8 +71,6 @@ bool scanhash_via(unsigned char *data_inout,
 		}
 
 		if (n >= max_nonce) {
-			if (opt_debug)
-				fprintf(stderr, "DBG: end of nonce range\n");
 			*hashes_done = stat_ctr;
 			return false;
 		}