Join declarations and assignments.

This commit is contained in:
2023-10-04 08:44:14 +01:00
parent 490d4a48c9
commit 8b9d4408ea
2 changed files with 6 additions and 8 deletions

View File

@@ -58,7 +58,6 @@ public sealed partial class UDF
if(imagePlugin.Info.SectorSize < 512)
return false;
byte[] sector;
var anchor = new AnchorVolumeDescriptorPointer();
// All positions where anchor may reside, with the ratio between 512 and 2048bps
@@ -69,9 +68,9 @@ public sealed partial class UDF
new ulong[] { partition.End - 1024, 4 }, new ulong[] { partition.End - 4, 4 }
};
var anchorFound = false;
uint ratio = 1;
sector = null;
var anchorFound = false;
uint ratio = 1;
byte[] sector = null;
foreach(ulong[] position in from position in
positions.Where(position =>