summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2018-11-04 22:19:30 -0500
committerWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2018-11-04 22:19:30 -0500
commit71df4caf8fe4e834c2f175e060b3a896d4d5b70e (patch)
tree1011f1c403018b412e98f07963e682c1d999bbd6 /modules
parent121cead38e5ea84ec22139df02eee56d822290b7 (diff)
Removed unnecessary assignments
Diffstat (limited to 'modules')
-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 97ac6f7de6..3e5ad7c99b 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -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;