diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-01-19 12:04:16 +0000 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-01-19 12:04:19 +0000 |
commit | 227c387b43b8a1f8c2de2b5b8a600b08d29c3408 (patch) | |
tree | c436255b25b5093bac71c89ada85674bd78fee42 /gst | |
parent | 71f39aa2ef1340afa122d3ac1102ffc79eaacaa0 (diff) |
tracerrecord: avoid overwriting value
res value is overwritten, remove the assignment.
priv__gst_structure_append_template_to_gstring () always returns TRUE
anyway.
CID 1349645
Diffstat (limited to 'gst')
-rw-r--r-- | gst/gsttracerrecord.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/gsttracerrecord.c b/gst/gsttracerrecord.c index d1e99391c..319a3ee3e 100644 --- a/gst/gsttracerrecord.c +++ b/gst/gsttracerrecord.c @@ -88,8 +88,7 @@ build_field_template (GQuark field_id, const GValue * value, gpointer user_data) /* add a boolean field, that indicates the presence of the next field */ g_value_init (&template_value, G_TYPE_BOOLEAN); - res = - priv__gst_structure_append_template_to_gstring (g_quark_from_string + priv__gst_structure_append_template_to_gstring (g_quark_from_string (opt_name), &template_value, s); g_value_unset (&template_value); g_free (opt_name); |