From: Tayrtahn Date: Wed, 28 May 2025 16:45:38 +0000 (-0400) Subject: Cleanup some misc warnings (#37904) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=721d224fd701e7d2ac84f163663c5c9d8d9aa2f2;p=space-station-14.git Cleanup some misc warnings (#37904) * Fix warning CS8524 for TurretControllerWindow * Fix warning CS0660 for AtmosAlarmThreshold --- diff --git a/Content.Client/TurretController/TurretControllerWindow.xaml.cs b/Content.Client/TurretController/TurretControllerWindow.xaml.cs index 020c894f54..2f6d81ff70 100644 --- a/Content.Client/TurretController/TurretControllerWindow.xaml.cs +++ b/Content.Client/TurretController/TurretControllerWindow.xaml.cs @@ -115,6 +115,7 @@ public sealed partial class TurretControllerWindow : BaseWindow TurretArmamentSetting.Safe => SafeButton, TurretArmamentSetting.Stun => StunButton, TurretArmamentSetting.Lethal => LethalButton, + _ => throw new NotImplementedException(), }; setPressedOn.Pressed = true; diff --git a/Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs b/Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs index f80a887b4f..89d0bf2392 100644 --- a/Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs +++ b/Content.Shared/Atmos/Monitor/AtmosAlarmThreshold.cs @@ -348,6 +348,11 @@ public readonly partial struct AlarmThresholdSetting: IEquatable