Use Array.Empty<T>.

This commit is contained in:
2021-08-17 18:21:12 +01:00
parent f14592b392
commit fdff1d74c9
41 changed files with 98 additions and 86 deletions

View File

@@ -1765,7 +1765,7 @@ namespace Aaru.DiscImages
var cmpCrc64Context = new Crc64Context();
byte[] lzmaProperties = new byte[0];
byte[] lzmaProperties = Array.Empty<byte>();
switch(_currentBlockHeader.compression)
{
@@ -2498,7 +2498,7 @@ namespace Aaru.DiscImages
var cmpCrc64Context = new Crc64Context();
byte[] lzmaProperties = new byte[0];
byte[] lzmaProperties = Array.Empty<byte>();
if(_currentBlockHeader.compression == CompressionType.Flac)
{