Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers

Removed unused variables, add some constants numbers
This commit is contained in:
Rémi Verschelde 2019-12-10 08:25:31 +01:00 committed by GitHub
commit 2845e6a21a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 112 additions and 91 deletions

View file

@ -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;
}