projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9089e1
)
project: remove unnecessary dereference
author
Luis de Bethencourt
<luis.bg@samsung.com>
Thu, 5 Mar 2015 13:53:15 +0000
(13:53 +0000)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Thu, 5 Mar 2015 13:53:32 +0000
(13:53 +0000)
g_clear_error() already dereferences the error pointer, no need to manually
check and do it.
CID #
1257630
ges/ges-project.c
patch
|
blob
|
history
diff --git
a/ges/ges-project.c
b/ges/ges-project.c
index 4d81892915e89f184d9a1b1d872cf507c714332a..c76bf3a38541df7acffbafed2a4ca60744546652 100644
(file)
--- a/
ges/ges-project.c
+++ b/
ges/ges-project.c
@@
-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;
}