From 227c387b43b8a1f8c2de2b5b8a600b08d29c3408 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Tue, 19 Jan 2016 12:04:16 +0000 Subject: [PATCH] tracerrecord: avoid overwriting value res value is overwritten, remove the assignment. priv__gst_structure_append_template_to_gstring () always returns TRUE anyway. CID 1349645 --- gst/gsttracerrecord.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/gsttracerrecord.c b/gst/gsttracerrecord.c index d1e9939..319a3ee 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); -- 2.7.4