diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-03-02 16:21:10 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-03-02 16:21:30 +0300 |
commit | fece538e3df15bba10b933bebd96e4d7d8e6d541 (patch) | |
tree | 292046cf4a264a906fc08a53d3072161d9982192 /source/blender | |
parent | 8d6a79ffc28081061461b44d6864f62c2b08b3d0 (diff) |
Cleanup: remove unused arguments
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 4 | ||||
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_add.c | 10 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer_api.c | 2 |
3 files changed, 6 insertions, 10 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index c576e99a663..1cf6a44ffd9 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -334,7 +334,7 @@ static void seq_convert_transform_crop_lb_2(const Scene *scene, } } -static void seq_update_meta_disp_range(Scene *scene, Editing *ed) +static void seq_update_meta_disp_range(Editing *ed) { LISTBASE_FOREACH_BACKWARD (MetaStack *, ms, &ed->metastack) { /* Update ms->disp_range from meta. */ @@ -637,7 +637,7 @@ void do_versions_after_linking_290(Main *bmain, ReportList *UNUSED(reports)) /* Keep this block, even when empty. */ LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) { - seq_update_meta_disp_range(scene, SEQ_editing_get(scene, false)); + seq_update_meta_disp_range(SEQ_editing_get(scene, false)); } } } diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c index baa2e9cc964..037ce78b9a2 100644 --- a/source/blender/editors/space_sequencer/sequencer_add.c +++ b/source/blender/editors/space_sequencer/sequencer_add.c @@ -929,12 +929,8 @@ static int sequencer_add_image_strip_calculate_length(wmOperator *op, } } -static void sequencer_add_image_strip_load_files(bContext *C, - wmOperator *op, - Sequence *seq, - SeqLoadData *load_data, - const int minframe, - const int numdigits) +static void sequencer_add_image_strip_load_files( + wmOperator *op, Sequence *seq, SeqLoadData *load_data, const int minframe, const int numdigits) { const bool use_placeholders = RNA_boolean_get(op->ptr, "use_placeholders"); @@ -976,7 +972,7 @@ static int sequencer_add_image_strip_exec(bContext *C, wmOperator *op) } Sequence *seq = SEQ_add_image_strip(CTX_data_main(C), scene, ed->seqbasep, &load_data); - sequencer_add_image_strip_load_files(C, op, seq, &load_data, minframe, numdigits); + sequencer_add_image_strip_load_files(op, seq, &load_data, minframe, numdigits); SEQ_add_image_init_alpha_mode(seq); /* Adjust length. */ diff --git a/source/blender/makesrna/intern/rna_sequencer_api.c b/source/blender/makesrna/intern/rna_sequencer_api.c index 77484488822..00d8c43a111 100644 --- a/source/blender/makesrna/intern/rna_sequencer_api.c +++ b/source/blender/makesrna/intern/rna_sequencer_api.c @@ -202,7 +202,7 @@ static Sequence *rna_Sequences_meta_new_scene(ID *id, static Sequence *rna_Sequences_new_image(ID *id, ListBase *seqbase, Main *bmain, - ReportList *reports, + ReportList *UNUSED(reports), const char *name, const char *file, int channel, |