mirror of
https://github.com/aaru-dps/Aaru.Decryption.git
synced 2025-12-16 19:24:33 +00:00
Fix initialization of non nullable fields.
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Aaru.Decryption.DVD
|
|||||||
public Dump(Device dev)
|
public Dump(Device dev)
|
||||||
{
|
{
|
||||||
_dev = dev;
|
_dev = dev;
|
||||||
BusKey = null;
|
BusKey = new byte[0];
|
||||||
Agid = 0;
|
Agid = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -431,7 +431,7 @@ namespace Aaru.Decryption.DVD
|
|||||||
|
|
||||||
if(i >= 31)
|
if(i >= 31)
|
||||||
{
|
{
|
||||||
senseBuffer = null;
|
senseBuffer = new byte[0];
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user