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:
Luis de Bethencourt 2015-03-05 13:53:15 +00:00
parent c9089e15b3
commit 8b4b2562a6

View file

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