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);