From ab06d0167b91748edcd54766a78aceedfccd50fe Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Thu, 5 Nov 2020 19:57:53 +0200 Subject: [PATCH] Minor tweak --- MainPlugin.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/MainPlugin.cs b/MainPlugin.cs index a3ccb60..aa5d3f9 100644 --- a/MainPlugin.cs +++ b/MainPlugin.cs @@ -14,10 +14,8 @@ namespace EnderIce2.SDRSharpPlugin { private const string _displayName = "Discord RPC"; private SettingsPanel _controlPanel; - [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0044:Add readonly modifier", Justification = "")] - private static LogLevel logLevel = LogLevel.Trace; - [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0044:Add readonly modifier", Justification = "")] - private static int discordPipe = -1; + private const LogLevel logLevel = LogLevel.Trace; + private const int discordPipe = -1; [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0044:Add readonly modifier", Justification = "")] bool RPCalreadyLoaded = false; private ISharpControl _control;