projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2efd1
)
examples/ges-ui: Remove useless NULL check
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 28 Feb 2017 10:50:31 +0000
(12:50 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 28 Feb 2017 10:50:31 +0000
(12:50 +0200)
g_new0() will abort if allocation fails.
CID 1139842
examples/c/ges-ui.c
patch
|
blob
|
history
diff --git
a/examples/c/ges-ui.c
b/examples/c/ges-ui.c
index
2c9e1f3
..
85005d7
100644
(file)
--- a/
examples/c/ges-ui.c
+++ b/
examples/c/ges-ui.c
@@
-1259,9
+1259,6
@@
app_init (void)
ret->selected_type = G_TYPE_NONE;
- if (!ret)
- return NULL;
-
if (!(ret->timeline = ges_timeline_new ()))
goto fail;