Browse Source

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

nfactor-troky
Jeff Garzik 14 years ago committed by Jeff Garzik
parent
commit
98de751416
  1. 2
      sha256_cryptopp.c
  2. 2
      sha256_generic.c
  3. 2
      sha256_via.c

2
sha256_cryptopp.c

@ -116,8 +116,6 @@ bool scanhash_cryptopp(const unsigned char *midstate, unsigned char *data, @@ -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;
}

2
sha256_generic.c

@ -262,8 +262,6 @@ bool scanhash_c(const unsigned char *midstate, unsigned char *data, @@ -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;
}

2
sha256_via.c

@ -71,8 +71,6 @@ bool scanhash_via(unsigned char *data_inout, @@ -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;
}

Loading…
Cancel
Save