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
This commit is contained in:
Luis de Bethencourt 2015-06-01 13:05:25 +01:00
parent c70a654dd6
commit b86cca00f1

View file

@ -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