mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fix many errors found by PVS-Studio
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
This commit is contained in:
parent
aa08ef2bed
commit
cb01268562
10 changed files with 25 additions and 23 deletions
|
|
@ -849,7 +849,7 @@ void AnimationNodeStateMachineEditor::_state_machine_pos_draw() {
|
|||
return;
|
||||
|
||||
int idx = -1;
|
||||
for (int i = 0; node_rects.size(); i++) {
|
||||
for (int i = 0; i < node_rects.size(); i++) {
|
||||
if (node_rects[i].node_name == playback->get_current_node()) {
|
||||
idx = i;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue