mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-30 08:24:26 +00:00
Remove compile warning
This commit is contained in:
parent
63e31b4d78
commit
487327f83d
2
adl.c
2
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)
|
void gpu_autotune(int gpu, bool *enable)
|
||||||
{
|
{
|
||||||
int temp, fanpercent, engine, newengine, twintemp;
|
int temp, fanpercent, engine, newengine, twintemp = 0;
|
||||||
bool fan_optimal = true;
|
bool fan_optimal = true;
|
||||||
struct cgpu_info *cgpu;
|
struct cgpu_info *cgpu;
|
||||||
struct gpu_adl *ga;
|
struct gpu_adl *ga;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user