1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Removed unnecessary assignments

This commit is contained in:
Wilson E. Alvarez
2018-11-04 22:19:30 -05:00
parent 121cead38e
commit 71df4caf8f
5 changed files with 0 additions and 8 deletions

View File

@@ -7080,7 +7080,6 @@ GDScriptParser::DataType GDScriptParser::_reduce_identifier_type(const DataType
DataType member_type;
for (int i = 0; i < current_class->variables.size(); i++) {
ClassNode::Member m = current_class->variables[i];
if (current_class->variables[i].identifier == p_identifier) {
member_type = current_class->variables[i].data_type;
current_class->variables.write[i].usages += 1;