Remove redundant Variant-types initializations

This commit is contained in:
Markus Sauermann 2022-11-14 18:21:06 +01:00
parent 963ffd8b94
commit 3b14f0334c
52 changed files with 118 additions and 118 deletions

View file

@ -2652,7 +2652,7 @@ PackedStringArray Node::get_configuration_warnings() const {
String Node::get_configuration_warnings_as_string() const {
PackedStringArray warnings = get_configuration_warnings();
String all_warnings = String();
String all_warnings;
for (int i = 0; i < warnings.size(); i++) {
if (i > 0) {
all_warnings += "\n\n";