mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Use preferred braces style.
This commit is contained in:
@@ -518,8 +518,6 @@ namespace DiscImageChef.DiscImages
|
||||
|
||||
// Flux
|
||||
if(next != current)
|
||||
{
|
||||
// Next is used
|
||||
if(next)
|
||||
{
|
||||
extentStart = i;
|
||||
@@ -530,7 +528,6 @@ namespace DiscImageChef.DiscImages
|
||||
extents.Add(extentStart, i);
|
||||
extentsOff.TryGetValue(extentStart, out ulong foo);
|
||||
}
|
||||
}
|
||||
|
||||
if(next && current) blockOff++;
|
||||
|
||||
@@ -617,13 +614,11 @@ namespace DiscImageChef.DiscImages
|
||||
|
||||
bool allEmpty = true;
|
||||
for(uint i = 0; i < length; i++)
|
||||
{
|
||||
if((bitmap[sectorAddress / 8] & (1 << (int)(sectorAddress % 8))) != 0)
|
||||
{
|
||||
allEmpty = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(allEmpty) return new byte[ImageInfo.SectorSize * length];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user