[Bf-blender-cvs] [a9101b332e3] blender2.8: Silence warning from object_relations.c

Dalai Felinto noreply at git.blender.org
Fri Dec 1 15:40:12 CET 2017


Commit: a9101b332e331f42d2d9cee59e4f27e5dca20fbb
Author: Dalai Felinto
Date:   Fri Dec 1 12:39:20 2017 -0200
Branches: blender2.8
https://developer.blender.org/rBa9101b332e331f42d2d9cee59e4f27e5dca20fbb

Silence warning from object_relations.c

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

M	source/blender/editors/object/object_relations.c

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

diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index b2e976f17a9..fb1c7f04a95 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -2339,6 +2339,7 @@ static int make_override_exec(bContext *C, wmOperator *UNUSED(op))
 	Object *locobj, *refobj = CTX_data_active_object(C);
 
 	locobj = (Object *)BKE_override_static_create_from(bmain, &refobj->id);
+	(void) locobj;
 
 	WM_event_add_notifier(C, NC_WINDOW, NULL);



More information about the Bf-blender-cvs mailing list