summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-09-29 23:51:17 +0200
committerGitHub <noreply@github.com>2018-09-29 23:51:17 +0200
commit0378a9ba80dc5083bbafa4a216ed70ea5d450c03 (patch)
treea156074f100c479eb49c5ac9aa6fce591eefc028 /modules/gdscript/gdscript_editor.cpp
parent9768ce5763cd0fdd8c17c8f052e1c65036517768 (diff)
parent8b2688786f4c294397b2fc9aaa9e2aab1c7c074e (diff)
downloadredot-engine-0378a9ba80dc5083bbafa4a216ed70ea5d450c03.tar.gz
Merge pull request #22520 from akien-mga/fix-warnings
Fix warning about functions defined but not used [-Wunused-function]
Diffstat (limited to 'modules/gdscript/gdscript_editor.cpp')
-rw-r--r--modules/gdscript/gdscript_editor.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index 55bc3d2359..ddd9e6b01c 100644
--- a/modules/gdscript/gdscript_editor.cpp
+++ b/modules/gdscript/gdscript_editor.cpp
@@ -51,12 +51,6 @@ void GDScriptLanguage::get_string_delimiters(List<String> *p_delimiters) const {
p_delimiters->push_back("\"\"\" \"\"\"");
}
Ref<Script> GDScriptLanguage::get_template(const String &p_class_name, const String &p_base_class_name) const {
-#ifdef TOOLS_ENABLED
- bool th = EDITOR_DEF("text_editor/completion/add_type_hints", false);
-#else
- bool th = false;
-#endif
-
String _template = "extends %BASE%\n"
"\n"
"# Declare member variables here. Examples:\n"