Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-03-21 06:00:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-21 06:00:40 +0300
commit87b62839187ef2077728985d0b6d3af02e628f0a (patch)
tree17e002fdf211a591bb4db0142abe3c59fe13e3a5 /source/blender/sequencer/intern/strip_add.c
parentbf13a4d3ff2a8b91d8da030e3b52b7185fc0c1c0 (diff)
Cleanup: remove redundant NULL checks
Diffstat (limited to 'source/blender/sequencer/intern/strip_add.c')
-rw-r--r--source/blender/sequencer/intern/strip_add.c2
1 files changed, 1 insertions, 1 deletions
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 {