Cleanup: remove redundant assignments

BLI_addtail doesn't require clearing links before adding
This commit is contained in:
Campbell Barton
2023-09-01 11:38:09 +10:00
parent 2a7b2e477f
commit cb582f82f6

View File

@@ -1562,7 +1562,6 @@ void SEQ_modifier_list_copy(Sequence *seqn, Sequence *seq)
smti->copy_data(smdn, smd);
}
smdn->next = smdn->prev = nullptr;
BLI_addtail(&seqn->modifiers, smdn);
BLI_uniquename(&seqn->modifiers,
smdn,