Join local variable declaration and assignment.

This commit is contained in:
2022-11-13 20:27:32 +00:00
parent 0f94c5fc01
commit 6586721321
22 changed files with 107 additions and 137 deletions

View File

@@ -59,7 +59,6 @@ public sealed partial class FAT
Dictionary<string, string> options, string @namespace)
{
XmlFsType = new FileSystemType();
ErrorNumber errno;
options ??= GetDefaultOptions();
@@ -102,7 +101,7 @@ public sealed partial class FAT
uint sectorsPerBpb = imagePlugin.Info.SectorSize < 512 ? 512 / imagePlugin.Info.SectorSize : 1;
errno = imagePlugin.ReadSectors(0 + partition.Start, sectorsPerBpb, out byte[] bpbSector);
ErrorNumber errno = imagePlugin.ReadSectors(0 + partition.Start, sectorsPerBpb, out byte[] bpbSector);
if(errno != ErrorNumber.NoError)
return errno;