summaryrefslogtreecommitdiff
path: root/modules/mono/utils
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-06-15 21:29:16 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-06-15 21:29:16 +0200
commit54df72dcc6b60693234880e7b1e4dde3a8f082f5 (patch)
tree008ad3b3a1293ef42c3000cb572a1577c65e3366 /modules/mono/utils
parent17af0104785eac9c416bb89989d82e2968f8ab8f (diff)
C#: Add VisualStudio support
Diffstat (limited to 'modules/mono/utils')
-rw-r--r--modules/mono/utils/mono_reg_utils.cpp1
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);
}