[Bf-blender-cvs] [bbb86a85fcd] blender2.8: Cleanup: Proper silencing of unused vars( for now).

Bastien Montagne noreply at git.blender.org
Fri Dec 1 17:58:35 CET 2017


Commit: bbb86a85fcdceb53be66bcb12338d5d311833e5f
Author: Bastien Montagne
Date:   Fri Dec 1 17:58:15 2017 +0100
Branches: blender2.8
https://developer.blender.org/rBbbb86a85fcdceb53be66bcb12338d5d311833e5f

Cleanup: Proper silencing of unused vars( for now).

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

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 8848b69a927..95ccf56d409 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -2341,7 +2341,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;
+	UNUSED_VARS(locobj);
 
 	WM_event_add_notifier(C, NC_WINDOW, NULL);



More information about the Bf-blender-cvs mailing list