remove redundant null check before assigning null

This commit is contained in:
adelikat 2020-12-16 15:13:04 -06:00
parent ec5e88c808
commit c730a78994
2 changed files with 2 additions and 8 deletions

View File

@ -61,10 +61,7 @@ namespace BizHawk.Emulation.Cores.Computers.AmstradCPC
public void Dispose()
{
if (_machine != null)
{
_machine = null;
}
_machine = null;
}
}
}

View File

@ -61,10 +61,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
public void Dispose()
{
if (_machine != null)
{
_machine = null;
}
_machine = null;
}
}
}