Inline 'out' variable declaration.

This commit is contained in:
2022-11-14 01:10:11 +00:00
parent 073b7c183d
commit e0508f096c
11 changed files with 14 additions and 31 deletions

View File

@@ -299,9 +299,7 @@ public sealed partial class Sidecar
xmlTrk.StartSector = trk.StartSector;
xmlTrk.EndSector = trk.EndSector;
int idx0;
if(trk.Indexes?.TryGetValue(0, out idx0) == true &&
if(trk.Indexes?.TryGetValue(0, out int idx0) == true &&
idx0 >= 0)
xmlTrk.StartSector = (ulong)idx0;