mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Removed unneeded value sets.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user