diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-05-01 17:22:29 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-05-01 17:22:36 +0300 |
commit | c5c3fa3eacb32b6e9f8ece47d1c69f274b9070c0 (patch) | |
tree | 88f2e1817f5c74a27c9a57c4d59ed2a3e1a08a88 /source/blender | |
parent | 30093a65960923743d5864daf010f32db7b2d1f3 (diff) |
Fix compiler warning: Uninitialised var
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 6875971de24..25e40ccf6e5 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -1596,7 +1596,7 @@ static void outliner_draw_hierarchy_lines_recursive(unsigned pos, SpaceOops *soo const unsigned char grayed_alpha = col[3] / 2; /* For vertical lines between objects. */ - y1 = *starty; + y1 = y2 = *starty; for (te = lb->first; te; te = te->next) { bool draw_childs_grayed_out = draw_grayed_out || (te->drag_data != NULL); tselem = TREESTORE(te); |