mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-25 01:54:17 +00:00
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:
parent
c70a654dd6
commit
b86cca00f1
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ _ges_get_asset_from_timeline (GESTimeline * timeline, GType type,
|
||||||
if (error && !*error) {
|
if (error && !*error) {
|
||||||
*error = g_error_new (GES_ERROR, 0,
|
*error = g_error_new (GES_ERROR, 0,
|
||||||
"There was an error requesting the asset with id %s and type %s (%s)",
|
"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
|
GST_ERROR
|
||||||
|
|
Loading…
Reference in a new issue