mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Invert 'if' statement to reduce nesting.
This commit is contained in:
@@ -1333,11 +1333,10 @@ namespace DiscImageChef.Core.Devices.Report.SCSI
|
||||
DataFile.WriteTo("SCSI Report", "leadin",
|
||||
"_debug_" + report.SCSI.Inquiry.ProductIdentification + "_" +
|
||||
mediaType + ".bin", "read results", buffer);
|
||||
if(!sense)
|
||||
{
|
||||
mediaTest.CanReadLeadIn = true;
|
||||
break;
|
||||
}
|
||||
if(sense) continue;
|
||||
|
||||
mediaTest.CanReadLeadIn = true;
|
||||
break;
|
||||
}
|
||||
|
||||
DicConsole.WriteLine("Trying to read CD Lead-Out...");
|
||||
|
||||
Reference in New Issue
Block a user