mirror of
https://github.com/aaru-dps/Aaru.Checksums.git
synced 2025-12-16 19:24:29 +00:00
REFACTOR: Removed unneeded value sets.
This commit is contained in:
@@ -59,7 +59,6 @@ namespace DiscImageChef.Checksums
|
||||
bool? subchannelStatus = CheckCdSectorSubChannel(subchannel);
|
||||
bool? status = null;
|
||||
|
||||
if(channelStatus == null && subchannelStatus == null) status = null;
|
||||
if(channelStatus == false || subchannelStatus == false) status = false;
|
||||
switch(channelStatus) {
|
||||
case null when subchannelStatus == true: status = true;
|
||||
@@ -68,8 +67,6 @@ namespace DiscImageChef.Checksums
|
||||
break;
|
||||
}
|
||||
|
||||
if(channelStatus == true && subchannelStatus == true) status = true;
|
||||
|
||||
return status;
|
||||
}
|
||||
case 2352: return CheckCdSectorChannel(buffer);
|
||||
|
||||
Reference in New Issue
Block a user