summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorAnilforextra <anilforextra@gmail.com>2021-08-21 15:22:21 +0545
committerAnilforextra <anilforextra@gmail.com>2021-08-21 19:20:07 +0545
commitc86db8b710a575dc2a9b9cd640d06edb09b4bc72 (patch)
treea023fcd2343610a99bb18a700a7d373bef107440 /modules/gdscript
parent0a001afec53aa4caed7820b34db4d7d15686e24d (diff)
Remove redundant assignments.
Use used_in_transfer instead of used_in_compute twice.
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript_parser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp
index d21caf4389..903398696c 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -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);