From: Sebastian Dröge Date: Tue, 28 Feb 2017 10:50:31 +0000 (+0200) Subject: examples/ges-ui: Remove useless NULL check X-Git-Tag: 1.19.3~493^2~844 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da399fb196de5e4bda36ed4f8323bc943318533e;p=platform%2Fupstream%2Fgstreamer.git examples/ges-ui: Remove useless NULL check g_new0() will abort if allocation fails. CID 1139842 --- diff --git a/examples/c/ges-ui.c b/examples/c/ges-ui.c index 2c9e1f3..85005d7 100644 --- 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;