mirror of https://github.com/PCSX2/pcsx2.git
dev9: Fix warning, add [[maybe_unused]] attribute.
This commit is contained in:
parent
376e699515
commit
6445af6eb2
|
@ -97,7 +97,7 @@ void ATA::SMART_SetAutoSaveAttribute()
|
||||||
void ATA::SMART_ExecuteOfflineImmediate()
|
void ATA::SMART_ExecuteOfflineImmediate()
|
||||||
{
|
{
|
||||||
PreCmd();
|
PreCmd();
|
||||||
int n = 0;
|
[[maybe_unused]] int n = 0;
|
||||||
switch (regSector)
|
switch (regSector)
|
||||||
{
|
{
|
||||||
case 0: /* off-line routine */
|
case 0: /* off-line routine */
|
||||||
|
|
Loading…
Reference in New Issue