mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Silence ADL warnings.
This commit is contained in:
parent
36d2fa485c
commit
c72a8b8cc9
4
adl.c
4
adl.c
@ -963,7 +963,7 @@ static int set_powertune(int gpu, int iPercentage)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void fan_autotune(int gpu, int temp, int fanpercent, bool *fan_optimal)
|
||||
static void fan_autotune(int gpu, int temp, int fanpercent, bool __maybe_unused *fan_optimal)
|
||||
{
|
||||
struct cgpu_info *cgpu = &gpus[gpu];
|
||||
struct gpu_adl *ga = &cgpu->adl;
|
||||
@ -1271,7 +1271,7 @@ updated:
|
||||
goto updated;
|
||||
}
|
||||
|
||||
void clear_adl(nDevs)
|
||||
void clear_adl(int nDevs)
|
||||
{
|
||||
struct gpu_adl *ga;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user