dev9: Fix warning, add [[maybe_unused]] attribute.

This commit is contained in:
lightningterror 2021-01-23 18:03:41 +01:00
parent 376e699515
commit 6445af6eb2
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ void ATA::SMART_SetAutoSaveAttribute()
void ATA::SMART_ExecuteOfflineImmediate()
{
PreCmd();
int n = 0;
[[maybe_unused]] int n = 0;
switch (regSector)
{
case 0: /* off-line routine */