mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Code style fixes.
This commit is contained in:
@@ -215,10 +215,7 @@ namespace Aaru.Decoders.MMC
|
||||
{
|
||||
public static ExtendedCSD DecodeExtendedCSD(byte[] response)
|
||||
{
|
||||
if(response == null)
|
||||
return null;
|
||||
|
||||
if(response.Length != 512)
|
||||
if(response?.Length != 512)
|
||||
return null;
|
||||
|
||||
var handle = GCHandle.Alloc(response, GCHandleType.Pinned);
|
||||
|
||||
Reference in New Issue
Block a user