Index: src/plugin/PluginSettings.cpp |
=================================================================== |
--- a/src/plugin/PluginSettings.cpp |
+++ b/src/plugin/PluginSettings.cpp |
@@ -44,7 +44,6 @@ |
CPluginSettings::CPluginSettings() : m_dwWorkingThreadId(0) |
{ |
s_instance = NULL; |
- m_WindowsBuildNumber = 0; |
ClearWhitelist(); |
} |
@@ -227,21 +226,6 @@ |
return true; |
} |
-DWORD CPluginSettings::GetWindowsBuildNumber() |
-{ |
- if (m_WindowsBuildNumber == 0) |
- { |
- OSVERSIONINFOEX osvi = {}; |
- osvi.dwOSVersionInfoSize = sizeof(osvi); |
- if (GetVersionExW(reinterpret_cast<OSVERSIONINFO*>(&osvi)) != 0) |
- { |
- m_WindowsBuildNumber = osvi.dwBuildNumber; |
- } |
- } |
- |
- return m_WindowsBuildNumber; |
-} |
- |
void CPluginSettings::SetSubscription(const std::wstring& url) |
{ |
CPluginClient::GetInstance()->SetSubscription(url); |