From ff18c8cebf2d0dbd8ccf6e4a7d61d6d7dcfdd70e Mon Sep 17 00:00:00 2001 From: Gabriel A Date: Fri, 17 Nov 2023 21:33:40 -0300 Subject: [PATCH] Silence some warnings --- src/Ryujinx.Common/Memory/StructArrayHelpers.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Ryujinx.Common/Memory/StructArrayHelpers.cs b/src/Ryujinx.Common/Memory/StructArrayHelpers.cs index 2c0ae6512..35818eb67 100644 --- a/src/Ryujinx.Common/Memory/StructArrayHelpers.cs +++ b/src/Ryujinx.Common/Memory/StructArrayHelpers.cs @@ -1,5 +1,6 @@ using System.Runtime.CompilerServices; +#pragma warning disable CS0169, IDE0051, IDE0251 // Remove unused private member, Member can be made 'readonly' namespace Ryujinx.Common.Memory { [InlineArray(1)] @@ -3607,3 +3608,4 @@ namespace Ryujinx.Common.Memory private T _element; } } +#pragma warning restore CS0169, IDE0051, IDE0251