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:
authorCampbell Barton <campbell@blender.org>2022-03-07 13:51:50 +0300
committerCampbell Barton <campbell@blender.org>2022-03-07 13:51:50 +0300
commita61ee1dcae9b48d9312c8e04c3b3c6e6e3fba578 (patch)
tree029acea4a5e0466ff3f9531504bf3c1c9d64ac92 /source/blender/blenkernel
parent7ca13eef7c3349b346b178b8f4ca64838d2f4ccf (diff)
Cleanup: quiet warnings
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/gpencil_modifier.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_modifier.c b/source/blender/blenkernel/intern/gpencil_modifier.c
index d432b18ff5f..ffc1f2d8774 100644
--- a/source/blender/blenkernel/intern/gpencil_modifier.c
+++ b/source/blender/blenkernel/intern/gpencil_modifier.c
@@ -642,7 +642,10 @@ static bGPdata *gpencil_copy_structure_for_eval(bGPdata *gpd)
return gpd_eval;
}
-void copy_frame_to_eval_cb(bGPDlayer *gpl, bGPDframe *gpf, bGPDstroke *gps, void *thunk)
+static void copy_frame_to_eval_cb(bGPDlayer *UNUSED(gpl),
+ bGPDframe *gpf,
+ bGPDstroke *UNUSED(gps),
+ void *UNUSED(thunk))
{
/* Early return when callback is not provided with a frame. */
if (gpf == NULL) {
@@ -662,7 +665,7 @@ void copy_frame_to_eval_cb(bGPDlayer *gpl, bGPDframe *gpf, bGPDstroke *gps, void
BKE_gpencil_frame_original_pointers_update(gpf_orig, gpf);
}
-void gpencil_copy_visible_frames_to_eval(Depsgraph *depsgraph, Scene *scene, Object *ob)
+static void gpencil_copy_visible_frames_to_eval(Depsgraph *depsgraph, Scene *scene, Object *ob)
{
/* Remap layers' active frame with time modifiers applied. */
bGPdata *gpd_eval = ob->data;