From c768b6bd0c38edb02c6a43fe8ab3882e6fab2d2d Mon Sep 17 00:00:00 2001 From: "Nghia M. Luong" <32159519+sqrlmn@users.noreply.github.com> Date: Thu, 30 Apr 2020 10:14:33 -0700 Subject: [PATCH] Remove unused headers (#2471) --- src/common/updating/updating.cpp | 1 - src/runner/auto_start_helper.cpp | 4 ---- src/runner/main.cpp | 1 - src/runner/powertoy_module.cpp | 2 -- src/runner/settings_window.cpp | 1 - src/runner/update_utils.cpp | 3 --- 6 files changed, 12 deletions(-) diff --git a/src/common/updating/updating.cpp b/src/common/updating/updating.cpp index c102f193a3..d10ba7e912 100644 --- a/src/common/updating/updating.cpp +++ b/src/common/updating/updating.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/src/runner/auto_start_helper.cpp b/src/runner/auto_start_helper.cpp index b979016ce3..e437cb484f 100644 --- a/src/runner/auto_start_helper.cpp +++ b/src/runner/auto_start_helper.cpp @@ -1,8 +1,6 @@ #include "pch.h" #include "auto_start_helper.h" -#include "general_settings.h" - #include #include @@ -10,8 +8,6 @@ #pragma comment(lib, "taskschd.lib") #pragma comment(lib, "comsupp.lib") -#include - // Helper macros from wix. // TODO: use "s" and "..." parameters to report errors from these functions. #define ExitOnFailure(x, s, ...) \ diff --git a/src/runner/main.cpp b/src/runner/main.cpp index 8f5d9ef6f9..bc0270cf2e 100644 --- a/src/runner/main.cpp +++ b/src/runner/main.cpp @@ -4,7 +4,6 @@ #include #include "tray_icon.h" #include "powertoy_module.h" -#include "lowlevel_keyboard_event.h" #include "trace.h" #include "general_settings.h" #include "restart_elevated.h" diff --git a/src/runner/powertoy_module.cpp b/src/runner/powertoy_module.cpp index 0e7866adf9..f141bcaa14 100644 --- a/src/runner/powertoy_module.cpp +++ b/src/runner/powertoy_module.cpp @@ -1,7 +1,5 @@ #include "pch.h" #include "powertoy_module.h" -#include "lowlevel_keyboard_event.h" -#include std::map& modules() { diff --git a/src/runner/settings_window.cpp b/src/runner/settings_window.cpp index ea86f4e916..c0dcb9c295 100644 --- a/src/runner/settings_window.cpp +++ b/src/runner/settings_window.cpp @@ -2,7 +2,6 @@ #include #include #include -#include #include #include "powertoy_module.h" diff --git a/src/runner/update_utils.cpp b/src/runner/update_utils.cpp index 478f5e929c..8ab13a19b8 100644 --- a/src/runner/update_utils.cpp +++ b/src/runner/update_utils.cpp @@ -8,9 +8,6 @@ #include #include -#include -#include - bool start_msi_uninstallation_sequence() { const auto package_path = updating::get_msi_package_path();