diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-07-03 23:19:22 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-07-07 23:15:03 +0200 |
commit | b6ac91c0e6416eda0dec226c5dbe5716f293e4f6 (patch) | |
tree | 885a240c6cc6dfbe7a4daf0a0b002e5ea06ffbb0 /modules/gdscript/gd_parser.cpp | |
parent | 1b9433594ecc6c935c81e9030a6b52c7b56cb3a4 (diff) |
Removed unused variables (first pass)
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
Diffstat (limited to 'modules/gdscript/gd_parser.cpp')
-rw-r--r-- | modules/gdscript/gd_parser.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdscript/gd_parser.cpp b/modules/gdscript/gd_parser.cpp index c33bf00c7b..4a199eb6a8 100644 --- a/modules/gdscript/gd_parser.cpp +++ b/modules/gdscript/gd_parser.cpp @@ -514,8 +514,6 @@ GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_ } else if (/*tokenizer->get_token()==GDTokenizer::TK_OP_ADD ||*/ tokenizer->get_token()==GDTokenizer::TK_OP_SUB || tokenizer->get_token()==GDTokenizer::TK_OP_NOT || tokenizer->get_token()==GDTokenizer::TK_OP_BIT_INVERT) { //single prefix operators like !expr -expr ++expr --expr - OperatorNode *op = alloc_node<OperatorNode>(); - Expression e; e.is_op=true; |