From 443057f156b3ae767d758bf5a38252321ac31c2d Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Sat, 12 Dec 2020 01:19:51 +0100 Subject: [PATCH] core: remove .net core 5.0 compilation warnings #10433 (#10478) --- src/Jackett.Server/Services/ServiceConfigService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Jackett.Server/Services/ServiceConfigService.cs b/src/Jackett.Server/Services/ServiceConfigService.cs index 235946b53..af72cb513 100644 --- a/src/Jackett.Server/Services/ServiceConfigService.cs +++ b/src/Jackett.Server/Services/ServiceConfigService.cs @@ -10,6 +10,8 @@ using NLog; namespace Jackett.Server.Services { +// This code is Windows specific but we are already doing the checks our way +#pragma warning disable CA1416 public class ServiceConfigService : IServiceConfigService { private const string NAME = "Jackett"; @@ -103,4 +105,5 @@ namespace Jackett.Server.Services } } } +#pragma warning restore CA1416 }