Browse Source

Merge commit 'f7e0d79' into bfgminer

Luke Dashjr 12 years ago
parent
commit
5b2568fdae
1 changed files with 0 additions and 2 deletions
  1. 0 2
      miner.c

+ 0 - 2
miner.c

@@ -7998,10 +7998,8 @@ static void gen_stratum_work(struct pool *pool, struct work *work)
 	pool->swork.data_lock_p = &pool->data_lock;
 	
 	bytes_resize(&work->nonce2, pool->n2size);
-#ifndef __OPTIMIZE__
 	if (pool->nonce2sz < pool->n2size)
 		memset(&bytes_buf(&work->nonce2)[pool->nonce2sz], 0, pool->n2size - pool->nonce2sz);
-#endif
 	memcpy(bytes_buf(&work->nonce2),
 #ifdef WORDS_BIGENDIAN
 	// NOTE: On big endian, the most significant bits are stored at the end, so skip the LSBs