Fix more Release build warnings

Not being able to build locally in release mode because of the .NET 8 RC SDK is painful
This commit is contained in:
Jordan Dominion
2023-10-22 16:01:52 -04:00
parent cd0f2599d7
commit 5afc74c487
3 changed files with 2 additions and 8 deletions
@@ -1,5 +1,4 @@
using System.Runtime.Versioning;
using System.Threading;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.IO;
@@ -9,7 +8,6 @@ namespace Tgstation.Server.Host.Components.Deployment
/// <summary>
/// A <see cref="IDmbProvider"/> that uses symlinks.
/// </summary>
[SupportedOSPlatform("windows")]
sealed class SymlinkDmbProvider : SwappableDmbProvider
{
/// <summary>
@@ -1,5 +1,4 @@
using System.Runtime.Versioning;
using System.Threading;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
@@ -20,7 +19,6 @@ namespace Tgstation.Server.Host.Components.Watchdog
/// <summary>
/// A variant of the <see cref="AdvancedWatchdog"/> that works on Windows systems.
/// </summary>
[SupportedOSPlatform("windows")]
sealed class WindowsWatchdog : AdvancedWatchdog
{
/// <summary>
@@ -1,5 +1,4 @@
using System;
using System.Runtime.Versioning;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
@@ -21,7 +20,6 @@ namespace Tgstation.Server.Host.Components.Watchdog
/// <summary>
/// <see cref="IWatchdogFactory"/> for creating <see cref="AdvancedWatchdog"/>s.
/// </summary>
[SupportedOSPlatform("windows")]
class WindowsWatchdogFactory : WatchdogFactory
{
/// <summary>