From ab382230471c6ee94e82d0fac3f5093e30710628 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 13 Jun 2021 14:47:22 +1000 Subject: Cleanup: redundant initialization These were limited to obvious cases. Some less obvious cases were kept as refactoring might make them necessary in future. --- source/blender/sequencer/intern/strip_add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/sequencer/intern/strip_add.c') diff --git a/source/blender/sequencer/intern/strip_add.c b/source/blender/sequencer/intern/strip_add.c index 9e5afb45f2a..888220b7111 100644 --- a/source/blender/sequencer/intern/strip_add.c +++ b/source/blender/sequencer/intern/strip_add.c @@ -409,7 +409,7 @@ Sequence *SEQ_add_sound_strip(Main *bmain, Scene *scene, ListBase *seqbase, SeqL Strip *strip = seq->strip; /* We only need 1 element to store the filename. */ - StripElem *se = strip->stripdata = se = MEM_callocN(sizeof(StripElem), "stripelem"); + StripElem *se = strip->stripdata = MEM_callocN(sizeof(StripElem), "stripelem"); BLI_split_dirfile(load_data->path, strip->dir, se->name, sizeof(strip->dir), sizeof(se->name)); if (seq != NULL && seq->sound != NULL) { -- cgit v1.2.3