From a14c88ba67a51b0a563a5fc800cd089e82ffacaf Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Fri, 23 Jan 2026 21:30:01 +0100 Subject: Remove unused imports Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...) --- .../ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp | 1 - .../ControllerInterface/DualShockUDPClient/DualShockUDPClient.h | 3 ++- .../ControllerInterface/DualShockUDPClient/DualShockUDPProto.h | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient') diff --git a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp index cac67e1b8a..2247dabbda 100644 --- a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp +++ b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp @@ -20,7 +20,6 @@ #include "Common/ScopeGuard.h" #include "Common/StringUtil.h" #include "Common/Thread.h" -#include "Core/CoreTiming.h" #include "InputCommon/ControllerInterface/ControllerInterface.h" #include "InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPProto.h" #include "SFML/Network/IpAddress.hpp" diff --git a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h index 7f2d62fb58..f913e1521a 100644 --- a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h +++ b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h @@ -3,7 +3,8 @@ #pragma once -#include "Common/Config/Config.h" +#include "Common/CommonTypes.h" +#include "Common/Config/ConfigInfo.h" #include "InputCommon/ControllerInterface/InputBackend.h" namespace ciface::DualShockUDPClient diff --git a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPProto.h b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPProto.h index 6d0559ca52..1fa0438a90 100644 --- a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPProto.h +++ b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPProto.h @@ -9,6 +9,7 @@ #include "Common/CommonTypes.h" #include "Common/Hash.h" +#include "Common/Logging/Log.h" namespace ciface::DualShockUDPClient::Proto { -- cgit v1.2.3