diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-21 21:32:27 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-21 21:41:54 +0100 |
commit | 4faaf6089a3880d673c5fc51a260128bfe59b351 (patch) | |
tree | 08232615d23839c83ae1bdd515a28d7e94ccdf83 /modules/gdscript/gdscript_function.cpp | |
parent | 79aaafc686ac57ea535d0542e123e9f45a097e69 (diff) | |
download | redot-engine-4faaf6089a3880d673c5fc51a260128bfe59b351.tar.gz |
Remove unused #if 0'ed code
Diffstat (limited to 'modules/gdscript/gdscript_function.cpp')
-rw-r--r-- | modules/gdscript/gdscript_function.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/gdscript/gdscript_function.cpp b/modules/gdscript/gdscript_function.cpp index 524be480d7..452b1933eb 100644 --- a/modules/gdscript/gdscript_function.cpp +++ b/modules/gdscript/gdscript_function.cpp @@ -1550,10 +1550,8 @@ Variant GDScriptFunction::call(GDScriptInstance *p_instance, const Variant **p_a OPCODE_BREAK; } -// Enable for debugging -#if 0 +#if 0 // Enable for debugging. default: { - err_text = "Illegal opcode " + itos(_code_ptr[ip]) + " at address " + itos(ip); OPCODE_BREAK; } |