mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Changed some code showed in LGTM and Coverage
This commit is contained in:
parent
584ca0f156
commit
6cbaf7662f
55 changed files with 94 additions and 202 deletions
|
@ -197,7 +197,6 @@ String VisualScriptFunction::get_output_sequence_port_text(int p_port) const {
|
|||
PropertyInfo VisualScriptFunction::get_input_value_port_info(int p_idx) const {
|
||||
|
||||
ERR_FAIL_V(PropertyInfo());
|
||||
return PropertyInfo();
|
||||
}
|
||||
PropertyInfo VisualScriptFunction::get_output_value_port_info(int p_idx) const {
|
||||
|
||||
|
@ -418,7 +417,7 @@ PropertyInfo VisualScriptOperator::get_input_value_port_info(int p_idx) const {
|
|||
{ Variant::NIL, Variant::NIL } //OP_IN,
|
||||
};
|
||||
|
||||
ERR_FAIL_INDEX_V(p_idx, Variant::OP_MAX, PropertyInfo());
|
||||
ERR_FAIL_INDEX_V(p_idx, 2, PropertyInfo());
|
||||
|
||||
PropertyInfo pinfo;
|
||||
pinfo.name = p_idx == 0 ? "A" : "B";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue