Browse Source

minorfix: remove extra semicolon

Isidoro Ghezzi 12 years ago
parent
commit
b8cb3f138d
5 changed files with 5 additions and 5 deletions
  1. 1 1
      driver-ztex.c
  2. 1 1
      miner.h
  3. 1 1
      ocl.c
  4. 1 1
      scrypt.c
  5. 1 1
      util.h

+ 1 - 1
driver-ztex.c

@@ -374,7 +374,7 @@ static bool ztex_prepare(struct thr_info *thr)
 		thr->cgpu->deven = DEV_DISABLED;
 		thr->cgpu->deven = DEV_DISABLED;
 		return true;
 		return true;
 	}
 	}
-	ztex->dclk.freqM = ztex->dclk.freqMaxM+1;;
+	ztex->dclk.freqM = ztex->dclk.freqMaxM+1;
 	//ztex_updateFreq(thr);
 	//ztex_updateFreq(thr);
 	libztex_setFreq(ztex, ztex->dclk.freqMDefault, cgpu->proc_repr);
 	libztex_setFreq(ztex, ztex->dclk.freqMDefault, cgpu->proc_repr);
 	ztex_releaseFpga(ztex);
 	ztex_releaseFpga(ztex);

+ 1 - 1
miner.h

@@ -1121,7 +1121,7 @@ extern double total_rolling;
 extern double total_mhashes_done;
 extern double total_mhashes_done;
 extern unsigned int new_blocks;
 extern unsigned int new_blocks;
 extern unsigned int found_blocks;
 extern unsigned int found_blocks;
-extern int total_accepted, total_rejected, total_diff1;;
+extern int total_accepted, total_rejected, total_diff1;
 extern int total_bad_nonces;
 extern int total_bad_nonces;
 extern int total_getworks, total_stale, total_discarded;
 extern int total_getworks, total_stale, total_discarded;
 extern uint64_t total_bytes_rcvd, total_bytes_sent;
 extern uint64_t total_bytes_rcvd, total_bytes_sent;

+ 1 - 1
ocl.c

@@ -324,7 +324,7 @@ int clDevicesNum(void) {
 	}
 	}
 
 
 	if (opt_platform_id < 0)
 	if (opt_platform_id < 0)
-		opt_platform_id = mdplatform;;
+		opt_platform_id = mdplatform;
 	if (mdmesa && opt_g_threads == -1)
 	if (mdmesa && opt_g_threads == -1)
 		opt_g_threads = 1;
 		opt_g_threads = 1;
 
 

+ 1 - 1
scrypt.c

@@ -487,6 +487,6 @@ bool scanhash_scrypt(struct thr_info *thr, const unsigned char __maybe_unused *p
 		}
 		}
 	}
 	}
 
 
-	free(scratchbuf);;
+	free(scratchbuf);
 	return ret;
 	return ret;
 }
 }

+ 1 - 1
util.h

@@ -251,7 +251,7 @@ void bytes_extend_buf(bytes_t * const b, const size_t newsz)
 static inline
 static inline
 void bytes_resize(bytes_t * const b, const size_t newsz)
 void bytes_resize(bytes_t * const b, const size_t newsz)
 {
 {
-	bytes_extend_buf(b, newsz);;
+	bytes_extend_buf(b, newsz);
 	b->sz = newsz;
 	b->sz = newsz;
 }
 }