Fix unitialized variable use

Own mistake in ae8e845470.
Patch by @efi0ng, thanks!
This commit is contained in:
Julian Eisel 2016-10-15 18:57:32 +02:00
parent fcff984338
commit 5e428b3b3f
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ static int outliner_highlight_update(bContext *C, wmOperator *UNUSED(op), const
const float my = UI_view2d_region_to_view_y(&ar->v2d, event->mval[1]);
TreeElement *hovered_te = outliner_find_item_at_y(soops, &soops->tree, my);
bool changed;
bool changed = false;
if (!hovered_te || !(hovered_te->store_elem->flag & TSE_HIGHLIGHTED)) {
changed = outliner_set_flag(soops, &soops->tree, TSE_HIGHLIGHTED, false);