From 54df72dcc6b60693234880e7b1e4dde3a8f082f5 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Mon, 15 Jun 2020 21:29:16 +0200 Subject: C#: Add VisualStudio support --- modules/mono/utils/mono_reg_utils.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/mono/utils') 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 buffer; buffer.resize(dwBufferSize); res = RegQueryValueExW(hKey, p_value_name.c_str(), 0, nullptr, (LPBYTE)buffer.ptr(), &dwBufferSize); } -- cgit v1.2.3