mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Merge into pattern.
This commit is contained in:
@@ -324,8 +324,7 @@ namespace Aaru.Core.Devices.Dumping
|
||||
DecodedSense? decSense = Sense.Decode(senseBuf);
|
||||
|
||||
// MEDIUM ERROR, retry with ignore error below
|
||||
if(decSense.HasValue &&
|
||||
decSense.Value.ASC == 0x11)
|
||||
if(decSense is { ASC: 0x11 })
|
||||
if(!sectorsNotEvenPartial.Contains(badSector))
|
||||
sectorsNotEvenPartial.Add(badSector);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user