Fix warnings in release builds.
This commit is contained in:
parent
a5454e8711
commit
3d50722cf5
|
@ -593,6 +593,7 @@ bool rna_AnimaData_override_apply(
|
|||
{
|
||||
BLI_assert(len_dst == len_src && (!ptr_storage || len_dst == len_storage) && len_dst == 0);
|
||||
BLI_assert(opop->operation == IDOVERRIDESTATIC_OP_REPLACE && "Unsupported RNA override operation on animdata pointer");
|
||||
UNUSED_VARS_NDEBUG(ptr_storage, len_dst, len_src, len_storage, opop);
|
||||
|
||||
/* AnimData is a special case, since you cannot edit/replace it, it's either existent or not. */
|
||||
AnimData *adt_dst = RNA_property_pointer_get(ptr_dst, prop_dst).data;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue