From 56cc47ee2e691efbb8045d1622a89b7ab207cd1a Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 4 Dec 2023 20:33:51 +0100 Subject: [PATCH] Cleanup: compiler warning --- source/blender/blenkernel/intern/main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/blenkernel/intern/main.cc b/source/blender/blenkernel/intern/main.cc index 9b0ce7968f9..3a17c76d8ab 100644 --- a/source/blender/blenkernel/intern/main.cc +++ b/source/blender/blenkernel/intern/main.cc @@ -267,6 +267,7 @@ static void main_merge_add_id_to_move(Main *bmain_dst, bool is_id_src_from_bmain_dst = false; if (is_id_src_linked) { BLI_assert(!is_library); + UNUSED_VARS_NDEBUG(is_library); blender::Vector id_src_lib_dst = id_map_dst.lookup_default(id_src->lib->filepath_abs, {}); /* The current library of the source ID would be remapped to null, which means that it comes