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

@@ -71,8 +71,6 @@ partial class Dump
return sense;
}
byte[] subBuf;
uint subSize = supportedPlextorSubchannel == PlextorSubchannel.Q16 ? 16u : 96u;
if(supportedPlextorSubchannel is PlextorSubchannel.Q16 or PlextorSubchannel.Pack)
@@ -94,7 +92,7 @@ partial class Dump
if(sense)
return true;
sense = _dev.PlextorReadCdDa(out subBuf, out senseBuf, firstSectorToRead, subSize, blocksToRead,
sense = _dev.PlextorReadCdDa(out byte[] subBuf, out senseBuf, firstSectorToRead, subSize, blocksToRead,
supportedPlextorSubchannel == PlextorSubchannel.Pack ? PlextorSubchannel.All
: supportedPlextorSubchannel, 0, out cmdDuration);