From a9101b332e331f42d2d9cee59e4f27e5dca20fbb Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 1 Dec 2017 12:39:20 -0200 Subject: [PATCH] Silence warning from object_relations.c --- source/blender/editors/object/object_relations.c | 1 + 1 file changed, 1 insertion(+) 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);