diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-10 08:25:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 08:25:31 +0100 |
commit | 2845e6a21a9a1b7c8bf64dc49575213141a68832 (patch) | |
tree | b4f82b8b4b733aa37dd877a0867a441d67a68d15 /modules/visual_script | |
parent | 16fc023d4487c2a3f26b5bdd3827628de2cd0ba2 (diff) | |
parent | ed1c4bc77db88fa0f8f599ca2d3c4b533a94a654 (diff) |
Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers
Removed unused variables, add some constants numbers
Diffstat (limited to 'modules/visual_script')
-rw-r--r-- | modules/visual_script/visual_script_nodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_nodes.cpp b/modules/visual_script/visual_script_nodes.cpp index 857d640b43..2a8d67d403 100644 --- a/modules/visual_script/visual_script_nodes.cpp +++ b/modules/visual_script/visual_script_nodes.cpp @@ -1290,7 +1290,7 @@ public: if (!instance->get_variable(variable, p_outputs[0])) { r_error.error = Variant::CallError::CALL_ERROR_INVALID_METHOD; r_error_str = RTR("VariableGet not found in script: ") + "'" + String(variable) + "'"; - return false; + return 0; } return 0; } |