projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
304a628
)
ttml: Simplify code
author
Edward Hervey
<edward@centricular.com>
Fri, 26 May 2017 15:55:44 +0000
(17:55 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Fri, 26 May 2017 15:55:44 +0000
(17:55 +0200)
n2 can never be NULL since:
* it's in a "while (n1 && n2)" block
* and it's not modified before
CID #1405868
ext/ttml/ttmlparse.c
patch
|
blob
|
history
diff --git
a/ext/ttml/ttmlparse.c
b/ext/ttml/ttmlparse.c
index
2759b69
..
a609b98
100644
(file)
--- a/
ext/ttml/ttmlparse.c
+++ b/
ext/ttml/ttmlparse.c
@@
-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
;
}
}
}