mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
ttml: Simplify code
n2 can never be NULL since: * it's in a "while (n1 && n2)" block * and it's not modified before CID #1405868
This commit is contained in:
parent
304a628de7
commit
417c70805b
1 changed files with 1 additions and 1 deletions
|
@ -1886,7 +1886,7 @@ ttml_join_region_tree_inline_elements (GNode * tree)
|
|||
n2 = n1->next;
|
||||
} else {
|
||||
n1 = n2;
|
||||
n2 = n2 ? n2->next : NULL;
|
||||
n2 = n2->next;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue