[Bf-blender-cvs] [405d32bc80c] master: Cleanup: compiler warnings

Campbell Barton noreply at git.blender.org
Tue May 17 02:54:41 CEST 2022


Commit: 405d32bc80c8aeb671b2fbb84635dc05decdb87e
Author: Campbell Barton
Date:   Tue May 17 10:01:30 2022 +1000
Branches: master
https://developer.blender.org/rB405d32bc80c8aeb671b2fbb84635dc05decdb87e

Cleanup: compiler warnings

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

M	source/blender/editors/space_sequencer/sequencer_add.c
M	source/blender/editors/space_sequencer/sequencer_edit.c

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

diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c
index fb5983dcf76..b3a3bb4a62b 100644
--- a/source/blender/editors/space_sequencer/sequencer_add.c
+++ b/source/blender/editors/space_sequencer/sequencer_add.c
@@ -521,7 +521,9 @@ static int sequencer_add_scene_strip_new_exec(bContext *C, wmOperator *op)
   return OPERATOR_FINISHED;
 }
 
-static int sequencer_add_scene_strip_new_invoke(bContext *C, wmOperator *op, const wmEvent *event)
+static int sequencer_add_scene_strip_new_invoke(bContext *C,
+                                                wmOperator *op,
+                                                const wmEvent *UNUSED(event))
 {
   sequencer_disable_one_time_properties(C, op);
   sequencer_generic_invoke_xy__internal(C, op, 0, SEQ_TYPE_SCENE);
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 4b72b989e80..677ee0c1683 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -3070,7 +3070,7 @@ void SEQUENCER_OT_change_path(struct wmOperatorType *ot)
 /** \name Change Strip Scene Operator
  * \{ */
 
-bool sequencer_strip_change_scene_poll(bContext *C)
+static bool sequencer_strip_change_scene_poll(bContext *C)
 {
   Editing *ed = SEQ_editing_get(CTX_data_scene(C));
   if (ed == NULL) {



More information about the Bf-blender-cvs mailing list