Fix suspicious | and + operators

This commit is contained in:
Rafał Mikrut 2020-02-23 09:28:54 +01:00
parent 63b0d822d1
commit d0621b954b
2 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ void VisualScriptPropertySelector::get_visual_node_names(const String &root_filt
continue;
}
bool in_modifier = false | p_modifiers.empty();
bool in_modifier = p_modifiers.empty();
for (Set<String>::Element *F = p_modifiers.front(); F && in_modifier; F = F->next()) {
if (E->get().findn(F->get()) != -1)
in_modifier = true;

View File

@ -337,7 +337,7 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
Vector<String> props = dp.split("\n");
String vendor;
String device;
d.description + "Device ID: " + d.id + "\n";
d.description = "Device ID: " + d.id + "\n";
d.api_level = 0;
for (int j = 0; j < props.size(); j++) {