Browse Source

Remove dead code

Luke Dashjr 11 years ago
parent
commit
e9eac2ced8
1 changed files with 0 additions and 6 deletions
  1. 0 6
      miner.c

+ 0 - 6
miner.c

@@ -4145,16 +4145,10 @@ share_result(json_t *val, json_t *res, json_t *err, const struct work *work,
 
 		applog(LOG_DEBUG, "PROOF OF WORK RESULT: false (booooo)");
 		if (!QUIET) {
-			char where[20];
 			char disposition[36] = "reject";
 			char reason[32];
 
 			strcpy(reason, "");
-			if (total_pools > 1)
-				snprintf(where, sizeof(where), "pool %d", work->pool->pool_no);
-			else
-				strcpy(where, "");
-
 			if (!json_is_string(res))
 				res = json_object_get(val, "reject-reason");
 			if (res) {