From 87b62839187ef2077728985d0b6d3af02e628f0a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 21 Mar 2021 14:00:21 +1100 Subject: Cleanup: remove redundant NULL checks --- source/blender/sequencer/intern/strip_add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/sequencer') diff --git a/source/blender/sequencer/intern/strip_add.c b/source/blender/sequencer/intern/strip_add.c index c4812228260..932b358cb37 100644 --- a/source/blender/sequencer/intern/strip_add.c +++ b/source/blender/sequencer/intern/strip_add.c @@ -105,7 +105,7 @@ static void seq_add_generic_update(Scene *scene, ListBase *seqbase, Sequence *se static void seq_add_set_name(Sequence *seq, SeqLoadData *load_data) { - if (load_data->name != NULL && load_data->name[0] != '\0') { + if (load_data->name[0] != '\0') { BLI_strncpy(seq->name + 2, load_data->name, sizeof(seq->name) - 2); } else { -- cgit v1.2.3