[Bf-blender-cvs] [a78b73ac6f2] soc-2019-outliner: Outliner: Remove warnings

Nathan Craddock noreply at git.blender.org
Fri Jul 12 00:16:45 CEST 2019


Commit: a78b73ac6f2107c762f47de531af5e6564f40b6b
Author: Nathan Craddock
Date:   Thu Jul 11 16:15:24 2019 -0600
Branches: soc-2019-outliner
https://developer.blender.org/rBa78b73ac6f2107c762f47de531af5e6564f40b6b

Outliner: Remove warnings

Left a few unused variables from removing old code

===================================================================

M	source/blender/editors/space_outliner/outliner_select.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index dc32530ea57..269883ded5a 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -1129,9 +1129,6 @@ static void do_outliner_item_activate_tree_element(bContext *C,
                                                    const bool extend,
                                                    const bool recursive)
 {
-  TreeElement *te_active = outliner_find_element_with_flag(&soops->tree, TSE_ACTIVE);
-  Object *obact = OBACT(view_layer);
-
   /* Always makes active object, except for some specific types. */
   if (ELEM(tselem->type,
            TSE_SEQUENCE,



More information about the Bf-blender-cvs mailing list