Cleanup: compiler warnings

This commit is contained in:
Campbell Barton 2022-05-17 10:01:30 +10:00
parent 8c4bd02b06
commit 405d32bc80
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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) {