REFACTOR: Removed unneeded value sets.

This commit is contained in:
2017-12-21 16:07:20 +00:00
parent 9883b567ff
commit bcbda18e4d
110 changed files with 203 additions and 280 deletions

View File

@@ -153,7 +153,7 @@ namespace DiscImageChef.Filesystems
{
ulong hdrSector = HeaderPos / imagePlugin.GetSectorSize();
FossilHeader hdr = new FossilHeader();
FossilHeader hdr;
if(partition.Start + hdrSector > imagePlugin.GetSectors()) return false;
@@ -174,7 +174,7 @@ namespace DiscImageChef.Filesystems
ulong hdrSector = HeaderPos / imagePlugin.GetSectorSize();
FossilHeader hdr = new FossilHeader();
FossilHeader hdr;
byte[] sector = imagePlugin.ReadSector(partition.Start + hdrSector);
hdr = BigEndianMarshal.ByteArrayToStructureBigEndian<FossilHeader>(sector);