Cleanup: Unused parameters and variables.

This commit is contained in:
Bastien Montagne 2023-01-30 09:45:42 +01:00
parent 3649c05f57
commit be8778355a
3 changed files with 2 additions and 3 deletions

View File

@ -455,7 +455,6 @@ UvVertMap *BM_uv_vert_map_create(BMesh *bm, const bool use_select)
BM_mesh_elem_index_ensure(bm, BM_VERT | BM_FACE);
const int totfaces = bm->totface;
const int totverts = bm->totvert;
int totuv = 0;

View File

@ -3570,7 +3570,7 @@ void SEQUENCER_OT_cursor_set(wmOperatorType *ot)
/** \name Update scene strip frame range
* \{ */
static int sequencer_scene_frame_range_update_exec(bContext *C, wmOperator *op)
static int sequencer_scene_frame_range_update_exec(bContext *C, wmOperator *UNUSED(op))
{
Scene *scene = CTX_data_scene(C);
Editing *ed = SEQ_editing_get(scene);

View File

@ -1416,7 +1416,7 @@ static void rna_SequenceTimelineChannel_name_set(PointerRNA *ptr, const char *va
sizeof(channel->name));
}
static void rna_SequenceTimelineChannel_mute_update(Main *bmain,
static void rna_SequenceTimelineChannel_mute_update(Main *UNUSED(bmain),
Scene *UNUSED(active_scene),
PointerRNA *ptr)
{