From 1696f3e572c9d5ce40f10e5fa88c40f3ef51b235 Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Sat, 10 Aug 2024 20:20:55 +0200 Subject: [PATCH] Remove unused includes - UnitTests --- Source/UnitTests/Common/x64EmitterTest.cpp | 1 - Source/UnitTests/Core/DSP/DSPTestText.h | 2 -- Source/UnitTests/Core/DSP/HermesText.h | 2 -- Source/UnitTests/Core/PageFaultTest.cpp | 1 - Source/UnitTests/Core/PatchAllowlistTest.cpp | 1 - .../Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp | 1 - 6 files changed, 8 deletions(-) diff --git a/Source/UnitTests/Common/x64EmitterTest.cpp b/Source/UnitTests/Common/x64EmitterTest.cpp index 7c5b010ae5..06b69314e9 100644 --- a/Source/UnitTests/Common/x64EmitterTest.cpp +++ b/Source/UnitTests/Common/x64EmitterTest.cpp @@ -4,7 +4,6 @@ #include #include // From Bochs, fallback included in Externals. #include -#include #include #include diff --git a/Source/UnitTests/Core/DSP/DSPTestText.h b/Source/UnitTests/Core/DSP/DSPTestText.h index 371ae29cea..c56563f1ae 100644 --- a/Source/UnitTests/Core/DSP/DSPTestText.h +++ b/Source/UnitTests/Core/DSP/DSPTestText.h @@ -3,6 +3,4 @@ #pragma once -#include - extern const char s_dsp_test_text[8434]; diff --git a/Source/UnitTests/Core/DSP/HermesText.h b/Source/UnitTests/Core/DSP/HermesText.h index 99c16686e2..d23ed2e424 100644 --- a/Source/UnitTests/Core/DSP/HermesText.h +++ b/Source/UnitTests/Core/DSP/HermesText.h @@ -3,6 +3,4 @@ #pragma once -#include - extern const char s_hermes_text[21370]; diff --git a/Source/UnitTests/Core/PageFaultTest.cpp b/Source/UnitTests/Core/PageFaultTest.cpp index a4c5525da2..a05a3c2a43 100644 --- a/Source/UnitTests/Core/PageFaultTest.cpp +++ b/Source/UnitTests/Core/PageFaultTest.cpp @@ -6,7 +6,6 @@ #include "Common/CommonTypes.h" #include "Common/ScopeGuard.h" -#include "Common/Timer.h" #include "Core/Core.h" #include "Core/MemTools.h" #include "Core/PowerPC/JitCommon/JitBase.h" diff --git a/Source/UnitTests/Core/PatchAllowlistTest.cpp b/Source/UnitTests/Core/PatchAllowlistTest.cpp index 2aae282216..e14298baf2 100644 --- a/Source/UnitTests/Core/PatchAllowlistTest.cpp +++ b/Source/UnitTests/Core/PatchAllowlistTest.cpp @@ -15,7 +15,6 @@ #include "Common/CommonPaths.h" #include "Common/Crypto/SHA1.h" #include "Common/FileUtil.h" -#include "Common/IOFile.h" #include "Common/IniFile.h" #include "Common/JsonUtil.h" #include "Core/ActionReplay.h" diff --git a/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp b/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp index 09c0f30169..72e85ee91d 100644 --- a/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp +++ b/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp @@ -8,7 +8,6 @@ #include "Common/ScopeGuard.h" #include "Common/x64ABI.h" #include "Core/Core.h" -#include "Core/PowerPC/Gekko.h" #include "Core/PowerPC/Interpreter/Interpreter_FPUtils.h" #include "Core/PowerPC/Jit64/Jit.h" #include "Core/PowerPC/Jit64Common/Jit64AsmCommon.h"