diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-16 17:18:48 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-16 17:25:52 +0300 |
commit | d436d67fcc47b877da3844b5b1a441c5e6574c82 (patch) | |
tree | 0cbdf4105c63aa79ddd9a6217185656b505c29a3 | |
parent | dc0376555fa948746c97a68cdf39ef4487505710 (diff) |
Cleanup: proper use of UNUSED_VARS_NDEBUG instead of random hack.
-rw-r--r-- | source/blender/makesrna/intern/rna_collection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_collection.c b/source/blender/makesrna/intern/rna_collection.c index 691803e0de1..4700df5352f 100644 --- a/source/blender/makesrna/intern/rna_collection.c +++ b/source/blender/makesrna/intern/rna_collection.c @@ -130,9 +130,9 @@ static bool rna_Collection_objects_override_apply(Main *bmain, PointerRNA *UNUSED(ptr_item_storage), IDOverrideLibraryPropertyOperation *opop) { - (void)opop; BLI_assert(opop->operation == IDOVERRIDE_LIBRARY_OP_REPLACE && "Unsupported RNA override operation on collections' objects"); + UNUSED_VARS_NDEBUG(opop); Collection *coll_dst = ptr_dst->id.data; @@ -233,9 +233,9 @@ static bool rna_Collection_children_override_apply(Main *bmain, PointerRNA *UNUSED(ptr_item_storage), IDOverrideLibraryPropertyOperation *opop) { - (void)opop; BLI_assert(opop->operation == IDOVERRIDE_LIBRARY_OP_REPLACE && "Unsupported RNA override operation on collections' objects"); + UNUSED_VARS_NDEBUG(opop); Collection *coll_dst = ptr_dst->id.data; |