Remove redundant assignments.

Use used_in_transfer instead of used_in_compute twice.
This commit is contained in:
Anilforextra committed 2021-08-21 19:20:07 +05:45
1 parent 0a001afec5
commit c86db8b710
5 files changed
+3 -9

No files matched your search

-1
View File
@@ -1117,7 +1117,6 @@ GDScriptParser::EnumNode *GDScriptParser::parse_enum() {
}
item.custom_value = value;
}
item.rightmost_column = previous.rightmost_column;
item.index = enum_node->values.size();
enum_node->values.push_back(item);