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 <b.mont29@gmail.com>2020-03-11 20:50:18 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-03-11 20:50:48 +0300
commit12e64e5ec14e257b61db225184328db1419f047a (patch)
tree3aa379539cfe4b49528686d9d9f308f0a966135b /source/blender/blenkernel/intern/main_idmap.c
parent366d951b0cfa9c11926318e8453705c116f15438 (diff)
Cleanup: Fix unused debug var warning.
Diffstat (limited to 'source/blender/blenkernel/intern/main_idmap.c')
-rw-r--r--source/blender/blenkernel/intern/main_idmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/main_idmap.c b/source/blender/blenkernel/intern/main_idmap.c
index 26eb0b681a1..8b83482d685 100644
--- a/source/blender/blenkernel/intern/main_idmap.c
+++ b/source/blender/blenkernel/intern/main_idmap.c
@@ -124,6 +124,8 @@ struct IDNameLib_Map *BKE_main_idmap_create(struct Main *bmain,
const bool existing_key = BLI_ghash_ensure_p(
id_map->uuid_map, POINTER_FROM_UINT(id->session_uuid), &id_ptr_v);
BLI_assert(existing_key == false);
+ UNUSED_VARS_NDEBUG(existing_key);
+
*id_ptr_v = id;
}
FOREACH_MAIN_ID_END;