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_functions.cpp | |
parent | 1b9433594ecc6c935c81e9030a6b52c7b56cb3a4 (diff) | |
download | redot-engine-b6ac91c0e6416eda0dec226c5dbe5716f293e4f6.tar.gz |
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_functions.cpp')
-rw-r--r-- | modules/gdscript/gd_functions.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdscript/gd_functions.cpp b/modules/gdscript/gd_functions.cpp index ec66841662..b9815a5efd 100644 --- a/modules/gdscript/gd_functions.cpp +++ b/modules/gdscript/gd_functions.cpp @@ -502,7 +502,6 @@ void GDFunctions::call(Function p_func,const Variant **p_args,int p_arg_count,Va Ref<FuncRef> fr = memnew( FuncRef); - Object *obj = *p_args[0]; fr->set_instance(*p_args[0]); fr->set_function(*p_args[1]); |