Browse Source

Remove compile warning

Kano 14 years ago
parent
commit
487327f83d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      adl.c

+ 1 - 1
adl.c

@@ -896,7 +896,7 @@ static void fan_autotune(int gpu, int temp, int fanpercent, bool *fan_optimal)
 
 void gpu_autotune(int gpu, bool *enable)
 {
-	int temp, fanpercent, engine, newengine, twintemp;
+	int temp, fanpercent, engine, newengine, twintemp = 0;
 	bool fan_optimal = true;
 	struct cgpu_info *cgpu;
 	struct gpu_adl *ga;