From 77061a5621015dfd0c9f89fd21cb23d706d0cec8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 22 Sep 2021 14:46:32 +1000 Subject: Cleanup: incompatible-pointer-types warning --- source/blender/editors/space_sequencer/sequencer_draw.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_sequencer') diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index 6edf2413e87..6f10a0f6c9e 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -1393,7 +1393,10 @@ static float seq_thumbnail_get_start_frame(Sequence *seq, float frame_step, rctf return ((no_invisible_thumbs - 1) * frame_step) + seq->start; } -static void thumbnail_start_job(void *data, const short *stop, const short *do_update, const float *progress) +static void thumbnail_start_job(void *data, + short *stop, + short *UNUSED(do_update), + float *UNUSED(progress)) { ThumbnailDrawJob *tj = data; float start_frame, frame_step; @@ -1414,7 +1417,6 @@ static void thumbnail_start_job(void *data, const short *stop, const short *do_u } BLI_ghashIterator_step(&gh_iter); } - UNUSED_VARS(do_update, progress); } static SeqRenderData sequencer_thumbnail_context_init(const bContext *C) -- cgit v1.2.3