Browse Source

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

Jeff Garzik 15 years ago
parent
commit
98de751416
3 changed files with 0 additions and 6 deletions
  1. 0 2
      sha256_cryptopp.c
  2. 0 2
      sha256_generic.c
  3. 0 2
      sha256_via.c

+ 0 - 2
sha256_cryptopp.c

@@ -116,8 +116,6 @@ bool scanhash_cryptopp(const unsigned char *midstate, unsigned char *data,
 		}
 		}
 
 
 		if (n >= max_nonce) {
 		if (n >= max_nonce) {
-			if (opt_debug)
-				fprintf(stderr, "DBG: end of nonce range\n");
 			*hashes_done = stat_ctr;
 			*hashes_done = stat_ctr;
 			return false;
 			return false;
 		}
 		}

+ 0 - 2
sha256_generic.c

@@ -262,8 +262,6 @@ bool scanhash_c(const unsigned char *midstate, unsigned char *data,
 		}
 		}
 
 
 		if (n >= max_nonce) {
 		if (n >= max_nonce) {
-			if (opt_debug)
-				fprintf(stderr, "DBG: end of nonce range\n");
 			*hashes_done = stat_ctr;
 			*hashes_done = stat_ctr;
 			return false;
 			return false;
 		}
 		}

+ 0 - 2
sha256_via.c

@@ -71,8 +71,6 @@ bool scanhash_via(unsigned char *data_inout,
 		}
 		}
 
 
 		if (n >= max_nonce) {
 		if (n >= max_nonce) {
-			if (opt_debug)
-				fprintf(stderr, "DBG: end of nonce range\n");
 			*hashes_done = stat_ctr;
 			*hashes_done = stat_ctr;
 			return false;
 			return false;
 		}
 		}