[Bf-blender-cvs] [77061a56210] master: Cleanup: incompatible-pointer-types warning

Campbell Barton noreply at git.blender.org
Wed Sep 22 06:46:58 CEST 2021


Commit: 77061a5621015dfd0c9f89fd21cb23d706d0cec8
Author: Campbell Barton
Date:   Wed Sep 22 14:46:32 2021 +1000
Branches: master
https://developer.blender.org/rB77061a5621015dfd0c9f89fd21cb23d706d0cec8

Cleanup: incompatible-pointer-types warning

===================================================================

M	source/blender/editors/space_sequencer/sequencer_draw.c

===================================================================

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)



More information about the Bf-blender-cvs mailing list