mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
project: remove unnecessary dereference
g_clear_error() already dereferences the error pointer, no need to manually check and do it. CID #1257630
This commit is contained in:
parent
c9089e15b3
commit
8b4b2562a6
1 changed files with 0 additions and 2 deletions
|
@ -764,8 +764,6 @@ ges_project_create_asset_sync (GESProject * project, const gchar * id,
|
|||
return NULL;
|
||||
|
||||
g_clear_error (error);
|
||||
if (error)
|
||||
*error = NULL;
|
||||
|
||||
id = possible_id;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue