aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthexai <58434170+thexai@users.noreply.github.com>2024-07-16 08:46:55 +0200
committerthexai <58434170+thexai@users.noreply.github.com>2024-07-16 08:46:55 +0200
commitf980c6f8fbd97226b24f8734336a82fb9a8284ca (patch)
treee50f917f92687c083ab3a7b12d65d678598a0b3d
parenta1d942b950b3226499d971dc12c9b782a2ce1454 (diff)
[Windows] remove CWIN32Util::GetSystemPath as is dead code
-rw-r--r--xbmc/platform/win32/WIN32Util.cpp10
-rw-r--r--xbmc/platform/win32/WIN32Util.h1
2 files changed, 0 insertions, 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);