[Bf-blender-cvs] [a61ee1dcae9] master: Cleanup: quiet warnings
Campbell Barton
noreply at git.blender.org
Mon Mar 7 11:52:22 CET 2022
Commit: a61ee1dcae9b48d9312c8e04c3b3c6e6e3fba578
Author: Campbell Barton
Date: Mon Mar 7 21:51:50 2022 +1100
Branches: master
https://developer.blender.org/rBa61ee1dcae9b48d9312c8e04c3b3c6e6e3fba578
Cleanup: quiet warnings
===================================================================
M source/blender/blenkernel/intern/gpencil_modifier.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list