mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: Removed unneeded value sets.
This commit is contained in:
@@ -73,7 +73,7 @@ namespace DiscImageChef.Partitions
|
||||
|
||||
if(sector.Length < 512) return false;
|
||||
|
||||
ApricotLabel label = new ApricotLabel();
|
||||
ApricotLabel label;
|
||||
IntPtr lblPtr = Marshal.AllocHGlobal(512);
|
||||
Marshal.Copy(sector, 0, lblPtr, 512);
|
||||
label = (ApricotLabel)Marshal.PtrToStructure(lblPtr, typeof(ApricotLabel));
|
||||
|
||||
Reference in New Issue
Block a user