From f64d7bfa4a21ed82f6b97da5e384995fd5c50195 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 5 Jan 2022 16:06:23 +0100 Subject: Cleanup: compiler warnings about unused code --- intern/cycles/blender/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/blender') diff --git a/intern/cycles/blender/util.h b/intern/cycles/blender/util.h index ae9cdfd4f58..59520b94d6f 100644 --- a/intern/cycles/blender/util.h +++ b/intern/cycles/blender/util.h @@ -676,7 +676,7 @@ static inline uint object_ray_visibility(BL::Object &b_ob) * * NOTE: This code is run prior to object motion blur initialization. so can not access properties * set by `sync_object_motion_init()`. */ -static bool object_need_motion_attribute(BObjectInfo &b_ob_info, Scene *scene) +static inline bool object_need_motion_attribute(BObjectInfo &b_ob_info, Scene *scene) { const Scene::MotionType need_motion = scene->need_motion(); if (need_motion == Scene::MOTION_NONE) { -- cgit v1.2.3