From f980c6f8fbd97226b24f8734336a82fb9a8284ca Mon Sep 17 00:00:00 2001 From: thexai <58434170+thexai@users.noreply.github.com> Date: Tue, 16 Jul 2024 08:46:55 +0200 Subject: [Windows] remove CWIN32Util::GetSystemPath as is dead code --- xbmc/platform/win32/WIN32Util.cpp | 10 ---------- xbmc/platform/win32/WIN32Util.h | 1 - 2 files changed, 11 deletions(-) diff --git a/xbmc/platform/win32/WIN32Util.cpp b/xbmc/platform/win32/WIN32Util.cpp index 46726af482..45fb259007 100644 --- a/xbmc/platform/win32/WIN32Util.cpp +++ b/xbmc/platform/win32/WIN32Util.cpp @@ -370,16 +370,6 @@ std::string CWIN32Util::GetSpecialFolder(int csidl) } #endif -std::string CWIN32Util::GetSystemPath() -{ -#ifdef TARGET_WINDOWS_STORE - // access to system folder is not allowed in a UWP app - return ""; -#else - return GetSpecialFolder(CSIDL_SYSTEM); -#endif -} - std::string CWIN32Util::GetProfilePath(const bool platformDirectories) { std::string strProfilePath; diff --git a/xbmc/platform/win32/WIN32Util.h b/xbmc/platform/win32/WIN32Util.h index 33033fb431..db4921b2d2 100644 --- a/xbmc/platform/win32/WIN32Util.h +++ b/xbmc/platform/win32/WIN32Util.h @@ -46,7 +46,6 @@ public: static int GetDesktopColorDepth(); static size_t GetSystemMemorySize(); - static std::string GetSystemPath(); static std::string GetProfilePath(const bool platformDirectories); static std::string UncToSmb(const std::string &strPath); static std::string SmbToUnc(const std::string &strPath); -- cgit v1.2.3