REFACTOR: Removed unneeded pragmas.

This commit is contained in:
2017-12-21 16:14:29 +00:00
parent bcbda18e4d
commit 7553983bd8
20 changed files with 0 additions and 104 deletions

View File

@@ -2378,10 +2378,8 @@ namespace DiscImageChef.Decoders.ATA
if((ATAID.PhysLogSectorSize & 0x2000) == 0x2000)
{
#pragma warning disable IDE0004 // Remove Unnecessary Cast
physicalsectorsize =
logicalsectorsize * (uint)Math.Pow(2, ATAID.PhysLogSectorSize & 0xF);
#pragma warning restore IDE0004 // Remove Unnecessary Cast
}
else physicalsectorsize = logicalsectorsize;
}