Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-08-16 17:18:48 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-08-16 17:25:52 +0300
commitd436d67fcc47b877da3844b5b1a441c5e6574c82 (patch)
tree0cbdf4105c63aa79ddd9a6217185656b505c29a3
parentdc0376555fa948746c97a68cdf39ef4487505710 (diff)
Cleanup: proper use of UNUSED_VARS_NDEBUG instead of random hack.
-rw-r--r--source/blender/makesrna/intern/rna_collection.c4
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;