diff options
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/engine.cc | 2 | ||||
-rw-r--r-- | source/blender/render/intern/pipeline.cc | 18 |
2 files changed, 9 insertions, 11 deletions
diff --git a/source/blender/render/intern/engine.cc b/source/blender/render/intern/engine.cc index 10a4788ef77..5eb4db6faa4 100644 --- a/source/blender/render/intern/engine.cc +++ b/source/blender/render/intern/engine.cc @@ -306,7 +306,7 @@ static void render_result_to_bake(RenderEngine *engine, RenderResult *rr) /* Render Results */ -static HighlightedTile highlighted_tile_from_result_get(Render *UNUSED(re), RenderResult *result) +static HighlightedTile highlighted_tile_from_result_get(Render * /*re*/, RenderResult *result) { HighlightedTile tile; tile.rect = result->tilerect; diff --git a/source/blender/render/intern/pipeline.cc b/source/blender/render/intern/pipeline.cc index 3dca26356df..baa89d5c845 100644 --- a/source/blender/render/intern/pipeline.cc +++ b/source/blender/render/intern/pipeline.cc @@ -162,29 +162,27 @@ static bool do_write_image_or_movie(Render *re, const char *name_override); /* default callbacks, set in each new render */ -static void result_nothing(void *UNUSED(arg), RenderResult *UNUSED(rr)) +static void result_nothing(void * /*arg*/, RenderResult * /*rr*/) { } -static void result_rcti_nothing(void *UNUSED(arg), - RenderResult *UNUSED(rr), - struct rcti *UNUSED(rect)) +static void result_rcti_nothing(void * /*arg*/, RenderResult * /*rr*/, struct rcti * /*rect*/) { } -static void current_scene_nothing(void *UNUSED(arg), Scene *UNUSED(scene)) +static void current_scene_nothing(void * /*arg*/, Scene * /*scene*/) { } -static void stats_nothing(void *UNUSED(arg), RenderStats *UNUSED(rs)) +static void stats_nothing(void * /*arg*/, RenderStats * /*rs*/) { } -static void float_nothing(void *UNUSED(arg), float UNUSED(val)) +static void float_nothing(void * /*arg*/, float /*val*/) { } -static int default_break(void *UNUSED(arg)) +static int default_break(void * /*arg*/) { return G.is_break == true; } -static void stats_background(void *UNUSED(arg), RenderStats *rs) +static void stats_background(void * /*arg*/, RenderStats *rs) { if (rs->infostr == nullptr) { return; @@ -1610,7 +1608,7 @@ bool RE_is_rendering_allowed(Scene *scene, static void update_physics_cache(Render *re, Scene *scene, ViewLayer *view_layer, - int UNUSED(anim_init)) + int /*anim_init*/) { PTCacheBaker baker; |