REFACTOR: Use preferred braces style.

This commit is contained in:
2017-12-21 00:44:33 +00:00
parent e9443388ee
commit bce69c9161
171 changed files with 5 additions and 1412 deletions

View File

@@ -157,7 +157,6 @@ namespace DiscImageChef.Filesystems
}
}
else
{
foreach(ulong location in new[] {0, 1, 2})
{
XFS_Superblock xfsSb = new XFS_Superblock();
@@ -175,7 +174,6 @@ namespace DiscImageChef.Filesystems
if(xfsSb.magicnum == XFS_Magic) return true;
}
}
return false;
}
@@ -212,7 +210,6 @@ namespace DiscImageChef.Filesystems
}
}
else
{
foreach(ulong location in new[] {0, 1, 2})
{
uint sbSize = (uint)(Marshal.SizeOf(xfsSb) / imagePlugin.GetSectorSize());
@@ -228,7 +225,6 @@ namespace DiscImageChef.Filesystems
if(xfsSb.magicnum == XFS_Magic) break;
}
}
if(xfsSb.magicnum != XFS_Magic) return;