Make strict compiler happy for release builds.

This commit is contained in:
Sergey Sharybin
2013-09-02 17:24:56 +00:00
parent 6ac7b03b2c
commit 15039b14ff

View File

@@ -665,6 +665,8 @@ int BMO_slot_map_count(BMOpSlot slot_args[BMO_OP_MAX_SLOTS], const char *slot_na
void BMO_slot_map_insert(BMOperator *op, BMOpSlot *slot,
const void *element, const void *data)
{
(void) op; /* Ignored in release builds. */
BLI_assert(slot->slot_type == BMO_OP_SLOT_MAPPING);
BMO_ASSERT_SLOT_IN_OP(slot, op);