diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-06-15 21:29:16 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-06-15 21:29:16 +0200 |
commit | 54df72dcc6b60693234880e7b1e4dde3a8f082f5 (patch) | |
tree | 008ad3b3a1293ef42c3000cb572a1577c65e3366 /modules/mono/utils | |
parent | 17af0104785eac9c416bb89989d82e2968f8ab8f (diff) |
C#: Add VisualStudio support
Diffstat (limited to 'modules/mono/utils')
-rw-r--r-- | modules/mono/utils/mono_reg_utils.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/mono/utils/mono_reg_utils.cpp b/modules/mono/utils/mono_reg_utils.cpp index 1b4fe68582..e0cf916a01 100644 --- a/modules/mono/utils/mono_reg_utils.cpp +++ b/modules/mono/utils/mono_reg_utils.cpp @@ -75,7 +75,6 @@ LONG _RegKeyQueryString(HKEY hKey, const String &p_value_name, String &r_value) if (res == ERROR_MORE_DATA) { // dwBufferSize now contains the actual size - Vector<WCHAR> buffer; buffer.resize(dwBufferSize); res = RegQueryValueExW(hKey, p_value_name.c_str(), 0, nullptr, (LPBYTE)buffer.ptr(), &dwBufferSize); } |