From bd5ab9f9b42ba0ee5cdda0947c3743ade075eaac Mon Sep 17 00:00:00 2001 From: voidedWarranties Date: Sun, 26 Feb 2023 22:30:56 -0800 Subject: Remove unused `ScriptLanguage` methods --- modules/gdscript/gdscript.cpp | 5 ----- modules/gdscript/gdscript.h | 1 - modules/mono/csharp_script.cpp | 5 ----- modules/mono/csharp_script.h | 1 - 4 files changed, 12 deletions(-) (limited to 'modules') diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 00f8d2817a..b6caefbdb5 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -2027,11 +2027,6 @@ String GDScriptLanguage::get_extension() const { return "gd"; } -Error GDScriptLanguage::execute_file(const String &p_path) { - // ?? - return OK; -} - void GDScriptLanguage::finish() { if (_call_stack) { memdelete_arr(_call_stack); diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index 82d04f641c..0117ed40ab 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -473,7 +473,6 @@ public: virtual void init() override; virtual String get_type() const override; virtual String get_extension() const override; - virtual Error execute_file(const String &p_path) override; virtual void finish() override; /* EDITOR FUNCTIONS */ diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 43d2779e41..872e803b9c 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -92,11 +92,6 @@ String CSharpLanguage::get_extension() const { return "cs"; } -Error CSharpLanguage::execute_file(const String &p_path) { - // ?? - return OK; -} - void CSharpLanguage::init() { #ifdef DEBUG_METHODS_ENABLED if (OS::get_singleton()->get_cmdline_args().find("--class-db-json")) { diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h index 6021555255..02c354f74e 100644 --- a/modules/mono/csharp_script.h +++ b/modules/mono/csharp_script.h @@ -413,7 +413,6 @@ public: /* LANGUAGE FUNCTIONS */ String get_type() const override; String get_extension() const override; - Error execute_file(const String &p_path) override; void init() override; void finish() override; -- cgit v1.2.3