1
0
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:
Rémi Verschelde
2018-05-01 19:14:07 +02:00
committed by GitHub
21 changed files with 48 additions and 66 deletions

View File

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