From: Luis de Bethencourt Date: Mon, 1 Jun 2015 12:05:25 +0000 (+0100) Subject: ges: remove dead code X-Git-Tag: 1.19.3~493^2~1201 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b86cca00f1c58874ed71572baadf57aa406957f9;p=platform%2Fupstream%2Fgstreamer.git ges: remove dead code Summary: No need to recheck if error exists since it has already been checked by the conditional above. Coverity CID #1302832 Reviewers: thiblahute Differential Revision: http://phabricator.freedesktop.org/D200 --- diff --git a/ges/ges-structured-interface.c b/ges/ges-structured-interface.c index 28db6a4..efaf798 100644 --- a/ges/ges-structured-interface.c +++ b/ges/ges-structured-interface.c @@ -236,7 +236,7 @@ _ges_get_asset_from_timeline (GESTimeline * timeline, GType type, if (error && !*error) { *error = g_error_new (GES_ERROR, 0, "There was an error requesting the asset with id %s and type %s (%s)", - id, g_type_name (type), error ? (*error)->message : "unknown"); + id, g_type_name (type), "unknown"); } GST_ERROR