Commit 487327f83df79f4fc187a74e8bcac71d05b4c5ac

Kano 2012-01-26T14:06:31

Remove compile warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/adl.c b/adl.c
index 323f1e8..0470445 100644
--- a/adl.c
+++ b/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;