Browse Source

Bugfix: Remove unused variables

Luke Dashjr 12 years ago
parent
commit
dc92c666ef
2 changed files with 0 additions and 3 deletions
  1. 0 1
      deviceapi.c
  2. 0 2
      miner.c

+ 0 - 1
deviceapi.c

@@ -552,7 +552,6 @@ redo:
 void *miner_thread(void *userdata)
 {
 	struct thr_info *mythr = userdata;
-	const int thr_id = mythr->id;
 	struct cgpu_info *cgpu = mythr->cgpu;
 	struct device_drv *drv = cgpu->drv;
 

+ 0 - 2
miner.c

@@ -3596,8 +3596,6 @@ static void __kill_work(void)
 	applog(LOG_DEBUG, "Killing off mining threads");
 	/* Kill the mining threads*/
 	for (i = 0; i < mining_threads; i++) {
-		pthread_t *pth = NULL;
-		
 		thr = get_thread(i);
 		if (!(thr && thr->cgpu->threads))
 			continue;