From db3db2876f6217ce5fc759d64c79af8a183c6710 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 22 Aug 2025 13:40:43 +1000 Subject: [PATCH] Cleanup: quiet compiler warning --- source/blender/depsgraph/intern/depsgraph_query_iter.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/depsgraph/intern/depsgraph_query_iter.cc b/source/blender/depsgraph/intern/depsgraph_query_iter.cc index 58bf5bf91b8..113bf22a6db 100644 --- a/source/blender/depsgraph/intern/depsgraph_query_iter.cc +++ b/source/blender/depsgraph/intern/depsgraph_query_iter.cc @@ -523,7 +523,8 @@ bool evil::DEG_iterator_temp_object_from_dupli(const Object *dupli_parent, return true; } -void ensure_id_properties_freed(const IDProperty *dupli_idprops, IDProperty **temp_dupli_idprops) +static void ensure_id_properties_freed(const IDProperty *dupli_idprops, + IDProperty **temp_dupli_idprops) { if (*temp_dupli_idprops == nullptr) { /* No ID properties in temp data-block -- no leak is possible. */