mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 18:43:29 -05:00
Merge pull request #100610 from YYF233333/style
Remove unused variable in `GDScriptLanguage`
This commit is contained in:
commit
0a37e12a9b
3 changed files with 0 additions and 11 deletions
|
@ -2727,8 +2727,6 @@ void GDScriptLanguage::reload_tool_script(const Ref<Script> &p_script, bool p_so
|
|||
}
|
||||
|
||||
void GDScriptLanguage::frame() {
|
||||
calls = 0;
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
if (profiling) {
|
||||
MutexLock lock(mutex);
|
||||
|
@ -2942,7 +2940,6 @@ String GDScriptLanguage::get_global_class_name(const String &p_path, String *r_b
|
|||
thread_local GDScriptLanguage::CallStack GDScriptLanguage::_call_stack;
|
||||
|
||||
GDScriptLanguage::GDScriptLanguage() {
|
||||
calls = 0;
|
||||
ERR_FAIL_COND(singleton);
|
||||
singleton = this;
|
||||
strings._init = StaticCString::create("_init");
|
||||
|
|
|
@ -485,8 +485,6 @@ class GDScriptLanguage : public ScriptLanguage {
|
|||
#endif
|
||||
|
||||
public:
|
||||
int calls;
|
||||
|
||||
bool debug_break(const String &p_error, bool p_allow_continue = true);
|
||||
bool debug_break_parse(const String &p_file, int p_line, const String &p_error);
|
||||
|
||||
|
|
|
@ -511,12 +511,6 @@ Variant GDScriptFunction::call(GDScriptInstance *p_instance, const Variant **p_a
|
|||
Variant **instruction_args = nullptr;
|
||||
int defarg = 0;
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
//GDScriptLanguage::get_singleton()->calls++;
|
||||
|
||||
#endif
|
||||
|
||||
uint32_t alloca_size = 0;
|
||||
GDScript *script;
|
||||
int ip = 0;
|
||||
|
|
Loading…
Reference in a new issue