You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
Fix Coverity reports of uninitialized scalar variable
This commit is contained in:
@@ -628,7 +628,7 @@ void CanvasItemEditor::_save_canvas_item_state(List<CanvasItem *> p_canvas_items
|
||||
if (bone && bone->has_meta("_edit_bone_")) {
|
||||
// Check if we have an IK chain
|
||||
List<Node2D *> bone_ik_list;
|
||||
bool ik_found;
|
||||
bool ik_found = false;
|
||||
bone = Object::cast_to<Node2D>(bone->get_parent());
|
||||
while (bone) {
|
||||
bone_ik_list.push_back(bone);
|
||||
|
||||
Reference in New Issue
Block a user