tracerrecord: avoid overwriting value

res value is overwritten, remove the assignment.
priv__gst_structure_append_template_to_gstring () always returns TRUE
anyway.

CID 1349645
This commit is contained in:
Luis de Bethencourt 2016-01-19 12:04:16 +00:00
parent 71f39aa2ef
commit 227c387b43

View file

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