From c086acbc346cb331e4f648531635a8d23c276ab3 Mon Sep 17 00:00:00 2001 From: B_Kirill <153602297+B-Kirill@users.noreply.github.com> Date: Wed, 11 Feb 2026 00:07:45 +1000 Subject: [PATCH] Cleanup warnings: CS0114, CS0414, CS9107 (#42859) * Cleanup warnings: CS0114, CS0414, CS9107 * I shouldn't trust IDE autocorrection --- Content.Client/FeedbackPopup/ClientFeedbackManager.cs | 3 +-- Content.Client/Lobby/LobbyUIController.cs | 11 +---------- .../Tests/Markings/MarkingsViewModelTests.cs | 4 ++-- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/Content.Client/FeedbackPopup/ClientFeedbackManager.cs b/Content.Client/FeedbackPopup/ClientFeedbackManager.cs index a4cdf6a6172..dd390cc2d4f 100644 --- a/Content.Client/FeedbackPopup/ClientFeedbackManager.cs +++ b/Content.Client/FeedbackPopup/ClientFeedbackManager.cs @@ -1,5 +1,4 @@ using Content.Shared.FeedbackSystem; -using Robust.Shared.Network; using Robust.Shared.Prototypes; namespace Content.Client.FeedbackPopup; @@ -10,7 +9,7 @@ public sealed class ClientFeedbackManager : SharedFeedbackManager /// /// A read-only set representing the currently displayed feedback popups. /// - public IReadOnlySet> DisplayedPopups => _displayedPopups; + public override IReadOnlySet> DisplayedPopups => _displayedPopups; private readonly HashSet> _displayedPopups = []; diff --git a/Content.Client/Lobby/LobbyUIController.cs b/Content.Client/Lobby/LobbyUIController.cs index 29d1933f7ca..1a026a774f1 100644 --- a/Content.Client/Lobby/LobbyUIController.cs +++ b/Content.Client/Lobby/LobbyUIController.cs @@ -1,13 +1,7 @@ -using System.Linq; -using Content.Client.Body; using Content.Client.Guidebook; -using Content.Client.Inventory; using Content.Client.Lobby.UI; using Content.Client.Players.PlayTimeTracking; -using Content.Client.Station; using Content.Shared.CCVar; -using Content.Shared.Clothing; -using Content.Shared.GameTicking; using Content.Shared.Humanoid.Markings; using Content.Shared.Humanoid.Prototypes; using Content.Shared.Preferences; @@ -20,7 +14,6 @@ using Robust.Client.State; using Robust.Client.UserInterface; using Robust.Client.UserInterface.Controllers; using Robust.Shared.Configuration; -using Robust.Shared.Map; using Robust.Shared.Prototypes; using Robust.Shared.Utility; @@ -37,8 +30,6 @@ public sealed class LobbyUIController : UIController, IOnStateEntered { - context.CurrentResult = inner.Execute(context); + context.CurrentResult = innerCommand.Execute(context); }) .Wait(); return context.CurrentResult;