summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_function.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-08-27 22:46:40 +0200
committerGitHub <noreply@github.com>2017-08-27 22:46:40 +0200
commit9e0fbb49c12a4bb12c275194b0599fdfa0b1aabf (patch)
tree8804d0dd24cc126087462edfbbbf73ed61b56b0e /modules/gdscript/gd_function.cpp
parent37da8155a4500a9386027b4d791a86186bc7ab4a (diff)
parent7ad14e7a3e6f87ddc450f7e34621eb5200808451 (diff)
Merge pull request #10699 from akien-mga/burn-burn-burn
Dead code tells no tales
Diffstat (limited to 'modules/gdscript/gd_function.cpp')
-rw-r--r--modules/gdscript/gd_function.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/modules/gdscript/gd_function.cpp b/modules/gdscript/gd_function.cpp
index 0c9eca894f..81bf4664d8 100644
--- a/modules/gdscript/gd_function.cpp
+++ b/modules/gdscript/gd_function.cpp
@@ -1319,22 +1319,6 @@ void GDFunction::debug_get_stack_member_state(int p_line, List<Pair<StringName,
}
}
-#if 0
-void GDFunction::clear() {
-
- name=StringName();
- constants.clear();
- _stack_size=0;
- code.clear();
- _constants_ptr=NULL;
- _constant_count=0;
- _global_names_ptr=NULL;
- _global_names_count=0;
- _code_ptr=NULL;
- _code_size=0;
-
-}
-#endif
GDFunction::GDFunction()
: function_list(this) {