mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Inline out variable declarations.
This commit is contained in:
@@ -81,10 +81,8 @@ public sealed class ViewSectorViewModel : ViewModelBase
|
||||
{
|
||||
this.RaiseAndSetIfChanged(ref _sectorNumber, value);
|
||||
|
||||
byte[] sector;
|
||||
|
||||
ErrorNumber errno = LongSectorChecked
|
||||
? _inputFormat.ReadSectorLong((ulong)SectorNumber, out sector)
|
||||
? _inputFormat.ReadSectorLong((ulong)SectorNumber, out byte[] sector)
|
||||
: _inputFormat.ReadSector((ulong)SectorNumber, out sector);
|
||||
|
||||
if(errno == ErrorNumber.NoError)
|
||||
|
||||
Reference in New Issue
Block a user