mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Style: Apply clang-tidy's readability-braces-around-statements
This commit is contained in:
parent
9bbe51dc27
commit
d83761ba80
32 changed files with 308 additions and 165 deletions
|
@ -2262,8 +2262,9 @@ public:
|
|||
CharString command_line_argument = command_line_strings[i].utf8();
|
||||
int base = r_command_line_flags.size();
|
||||
int length = command_line_argument.length();
|
||||
if (length == 0)
|
||||
if (length == 0) {
|
||||
continue;
|
||||
}
|
||||
r_command_line_flags.resize(base + 4 + length);
|
||||
encode_uint32(length, &r_command_line_flags.write[base]);
|
||||
copymem(&r_command_line_flags.write[base + 4], command_line_argument.ptr(), length);
|
||||
|
@ -2615,10 +2616,11 @@ public:
|
|||
}
|
||||
// This is the start of the Legacy build system
|
||||
print_verbose("Starting legacy build system..");
|
||||
if (p_debug)
|
||||
if (p_debug) {
|
||||
src_apk = p_preset->get("custom_template/debug");
|
||||
else
|
||||
} else {
|
||||
src_apk = p_preset->get("custom_template/release");
|
||||
}
|
||||
src_apk = src_apk.strip_edges();
|
||||
if (src_apk == "") {
|
||||
if (p_debug) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue