Removed unnecessary returns and break statements
This commit is contained in:
parent
294e912a84
commit
baa94a3758
6 changed files with 4 additions and 8 deletions
|
|
@ -210,8 +210,9 @@ public:
|
|||
#ifdef TOOLS_ENABLED
|
||||
ERR_FAIL_INDEX_V(p_idx, arg_names.size(), StringName());
|
||||
return arg_names[p_idx];
|
||||
#endif
|
||||
#else
|
||||
return StringName();
|
||||
#endif
|
||||
}
|
||||
Variant get_default_argument(int p_idx) const {
|
||||
ERR_FAIL_INDEX_V(p_idx, default_arguments.size(), Variant());
|
||||
|
|
|
|||
|
|
@ -559,8 +559,9 @@ bool GDScript::_update_exports() {
|
|||
|
||||
return changed;
|
||||
|
||||
#endif
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void GDScript::update_exports() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue