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

@@ -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));