Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginSettings.cpp

Issue 29330816: Noissue, Dead Code - Remove Windows build number from CPluginSettings (Closed)
Patch Set: Created Nov. 25, 2015, 6:28 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/PluginSettings.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/plugin/PluginSettings.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld