diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-14 15:29:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-14 15:29:22 +0400 |
commit | 1979720d0324b84e4993557d30ff833f71e688fd (patch) | |
tree | f9086bb60fb4185dfbbb645df6bfafefe6c38489 /source/blender | |
parent | c09034608c2a64ba3c9cec22c440fd7632939b81 (diff) |
quiet compiler warnings.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_edit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c index ed4ecff88b9..1e9b681197c 100644 --- a/source/blender/editors/space_outliner/outliner_edit.c +++ b/source/blender/editors/space_outliner/outliner_edit.c @@ -1662,17 +1662,15 @@ static int outliner_parenting_poll(bContext *C) static int parent_clear_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) { Main *bmain = CTX_data_main(C); - Scene *scene = NULL; Object *ob = NULL; SpaceOops *soops = CTX_wm_space_outliner(C); - TreeElement *te; char obname[MAX_ID_NAME]; RNA_string_get(op->ptr, "dragged_obj", obname); ob = (Object *)BKE_libblock_find_name(ID_OB, obname); /* search forwards to find the object */ - te = outliner_find_id(soops, &soops->tree, (ID *)ob); + outliner_find_id(soops, &soops->tree, (ID *)ob); ED_object_parent_clear(ob, RNA_enum_get(op->ptr, "type")); |