diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-06 16:03:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-06 16:03:34 +0300 |
commit | c27b7df563a68f38676decb5ab6f68b3e4ff85f0 (patch) | |
tree | b4da73aa03d15e4167881e636faf0b5a3bb19ed2 /source/blender | |
parent | a496af8680f7e6c1f69b044b0b0902586711023c (diff) |
Cleanup: unused argument
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/transform/transform_convert_sequencer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_convert_sequencer.c b/source/blender/editors/transform/transform_convert_sequencer.c index 279fcdffc1f..6a09008e657 100644 --- a/source/blender/editors/transform/transform_convert_sequencer.c +++ b/source/blender/editors/transform/transform_convert_sequencer.c @@ -172,7 +172,7 @@ static void SeqTransInfo(TransInfo *t, Sequence *seq, int *r_recursive, int *r_c } } -static int SeqTransCount(TransInfo *t, Sequence *parent, ListBase *seqbase, int depth) +static int SeqTransCount(TransInfo *t, ListBase *seqbase, int depth) { Sequence *seq; int tot = 0, recursive, count, flag; @@ -184,7 +184,7 @@ static int SeqTransCount(TransInfo *t, Sequence *parent, ListBase *seqbase, int tot += count; if (recursive) { - tot += SeqTransCount(t, seq, &seq->seqbase, depth + 1); + tot += SeqTransCount(t, &seq->seqbase, depth + 1); } } @@ -557,7 +557,7 @@ void createTransSeqData(TransInfo *t) } #endif - count = SeqTransCount(t, NULL, ed->seqbasep, 0); + count = SeqTransCount(t, ed->seqbasep, 0); /* allocate memory for data */ tc->data_len = count; |