Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2018-05-01 17:22:29 +0300
committerJoshua Leung <aligorith@gmail.com>2018-05-01 17:22:36 +0300
commitc5c3fa3eacb32b6e9f8ece47d1c69f274b9070c0 (patch)
tree88f2e1817f5c74a27c9a57c4d59ed2a3e1a08a88 /source/blender/editors/space_outliner
parent30093a65960923743d5864daf010f32db7b2d1f3 (diff)
Fix compiler warning: Uninitialised var
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c2
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);