diff --git a/ServerLogWindow.xaml.cs b/ServerLogWindow.xaml.cs index 27905c6..e0f0845 100644 --- a/ServerLogWindow.xaml.cs +++ b/ServerLogWindow.xaml.cs @@ -122,7 +122,7 @@ public void RefreshLogText() } prevExtentHeight = txtLog.ExtentHeight; } - catch (IOException ex) + catch (IOException) { retryTimer.Interval = retryInterval; retryTimer.Enabled = true; diff --git a/SteamCMD.cs b/SteamCMD.cs index 85d24a2..ce8b4ac 100644 --- a/SteamCMD.cs +++ b/SteamCMD.cs @@ -95,7 +95,7 @@ private void Process_OutputDataReceived(object sender, DataReceivedEventArgs e) writer.WriteLine(msg); writer.Close(); } - catch (Exception ex) + catch (Exception) { //not being able to clear the log is not a major problem } diff --git a/ValheimServer.cs b/ValheimServer.cs index 4dcc8a3..c5ce28b 100644 --- a/ValheimServer.cs +++ b/ValheimServer.cs @@ -688,7 +688,7 @@ private void Process_OutputDataReceived(object sender, DataReceivedEventArgs e) writer.WriteLine(msg); writer.Close(); } - catch (Exception ex) + catch (Exception) { //not being able to clear the log is not a major problem } diff --git a/ValheimServerWarden.csproj b/ValheimServerWarden.csproj index 344258e..c1f0bec 100644 --- a/ValheimServerWarden.csproj +++ b/ValheimServerWarden.csproj @@ -127,6 +127,6 @@ - +