mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use Array.Empty<T>.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
// Copyright © 2011-2021 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Aaru.Console;
|
||||
|
||||
@@ -59,7 +60,7 @@ namespace Aaru.Devices
|
||||
/// <param name="duration">Duration.</param>
|
||||
public bool CertanceParkUnpark(out byte[] senseBuffer, bool park, uint timeout, out double duration)
|
||||
{
|
||||
byte[] buffer = new byte[0];
|
||||
byte[] buffer = Array.Empty<byte>();
|
||||
byte[] cdb = new byte[6];
|
||||
senseBuffer = new byte[64];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user