mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Initialize variable before usage.
This commit is contained in:
@@ -915,7 +915,7 @@ namespace DiscImageChef.DiscImages
|
||||
if(mediaTags.ContainsKey(MediaTagType.SCSI_INQUIRY))
|
||||
{
|
||||
PeripheralDeviceTypes devType = PeripheralDeviceTypes.DirectAccess;
|
||||
Inquiry.SCSIInquiry? scsiInq;
|
||||
Inquiry.SCSIInquiry? scsiInq = null;
|
||||
if(mediaTags.TryGetValue(MediaTagType.SCSI_INQUIRY, out byte[] inq))
|
||||
{
|
||||
scsiInq = Inquiry.Decode(inq);
|
||||
|
||||
Reference in New Issue
Block a user