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:
authorCampbell Barton <ideasman42@gmail.com>2013-08-14 15:29:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-14 15:29:22 +0400
commit1979720d0324b84e4993557d30ff833f71e688fd (patch)
treef9086bb60fb4185dfbbb645df6bfafefe6c38489 /source/blender/editors/space_outliner
parentc09034608c2a64ba3c9cec22c440fd7632939b81 (diff)
quiet compiler warnings.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_edit.c4
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"));