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>2017-12-01 19:41:54 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-12-01 19:42:13 +0300
commit3d50722cf505d6afcc9866efebcb360caf00abee (patch)
tree7ca5ca8881be8cb482ce5dc169bfdb1fe8af2baf /source/blender/makesrna/intern/rna_rna.c
parenta5454e8711c8b9728a4f7523bf92de60b945357a (diff)
Fix warnings in release builds.
Diffstat (limited to 'source/blender/makesrna/intern/rna_rna.c')
-rw-r--r--source/blender/makesrna/intern/rna_rna.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c
index a34894fb123..24d56ef2a19 100644
--- a/source/blender/makesrna/intern/rna_rna.c
+++ b/source/blender/makesrna/intern/rna_rna.c
@@ -1508,6 +1508,7 @@ bool rna_property_override_store_default(
IDOverrideStaticPropertyOperation *opop)
{
BLI_assert(len_local == len_reference && (!ptr_storage || len_local == len_storage));
+ UNUSED_VARS_NDEBUG(len_reference, len_storage);
bool changed = false;
const int index = opop->subitem_reference_index;
@@ -1818,6 +1819,7 @@ bool rna_property_override_apply_default(
IDOverrideStaticPropertyOperation *opop)
{
BLI_assert(len_dst == len_src && (!ptr_storage || len_dst == len_storage));
+ UNUSED_VARS_NDEBUG(len_src, len_storage);
const int index = opop->subitem_reference_index;
const short override_op = opop->operation;