sha*.c: remove debug statement, which is redundant to hashmeter output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
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;
}