You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
This commit is contained in:
@@ -58,7 +58,6 @@ REGSAM _get_bitness_sam() {
|
||||
}
|
||||
|
||||
LONG _RegOpenKey(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult) {
|
||||
|
||||
LONG res = RegOpenKeyExW(hKey, lpSubKey, 0, KEY_READ, phkResult);
|
||||
|
||||
if (res != ERROR_SUCCESS)
|
||||
@@ -68,7 +67,6 @@ LONG _RegOpenKey(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult) {
|
||||
}
|
||||
|
||||
LONG _RegKeyQueryString(HKEY hKey, const String &p_value_name, String &r_value) {
|
||||
|
||||
Vector<WCHAR> buffer;
|
||||
buffer.resize(512);
|
||||
DWORD dwBufferSize = buffer.size();
|
||||
@@ -91,7 +89,6 @@ LONG _RegKeyQueryString(HKEY hKey, const String &p_value_name, String &r_value)
|
||||
}
|
||||
|
||||
LONG _find_mono_in_reg(const String &p_subkey, MonoRegInfo &r_info, bool p_old_reg = false) {
|
||||
|
||||
HKEY hKey;
|
||||
LONG res = _RegOpenKey(HKEY_LOCAL_MACHINE, p_subkey.c_str(), &hKey);
|
||||
|
||||
@@ -127,7 +124,6 @@ cleanup:
|
||||
}
|
||||
|
||||
LONG _find_mono_in_reg_old(const String &p_subkey, MonoRegInfo &r_info) {
|
||||
|
||||
String default_clr;
|
||||
|
||||
HKEY hKey;
|
||||
@@ -149,7 +145,6 @@ cleanup:
|
||||
}
|
||||
|
||||
MonoRegInfo find_mono() {
|
||||
|
||||
MonoRegInfo info;
|
||||
|
||||
if (_find_mono_in_reg("Software\\Mono", info) == ERROR_SUCCESS)
|
||||
@@ -162,7 +157,6 @@ MonoRegInfo find_mono() {
|
||||
}
|
||||
|
||||
String find_msbuild_tools_path() {
|
||||
|
||||
String msbuild_tools_path;
|
||||
|
||||
// Try to find 15.0 with vswhere
|
||||
|
||||
Reference in New Issue
Block a user