diff options
Diffstat (limited to 'base/sys_info_win.cc')
-rw-r--r-- | base/sys_info_win.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/base/sys_info_win.cc b/base/sys_info_win.cc index 35a7878..ed4d2fb 100644 --- a/base/sys_info_win.cc +++ b/base/sys_info_win.cc @@ -48,17 +48,6 @@ int64 SysInfo::AmountOfFreeDiskSpace(const FilePath& path) { } // static -std::wstring SysInfo::GetEnvVar(const wchar_t* var) { - DWORD value_length = GetEnvironmentVariable(var, NULL, 0); - if (value_length == 0) { - return L""; - } - scoped_array<wchar_t> value(new wchar_t[value_length]); - GetEnvironmentVariable(var, value.get(), value_length); - return std::wstring(value.get()); -} - -// static std::string SysInfo::OperatingSystemName() { return "Windows NT"; } |