mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
71f39aa2ef
commit
227c387b43
1 changed files with 1 additions and 2 deletions
|
@ -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 */
|
/* add a boolean field, that indicates the presence of the next field */
|
||||||
g_value_init (&template_value, G_TYPE_BOOLEAN);
|
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);
|
(opt_name), &template_value, s);
|
||||||
g_value_unset (&template_value);
|
g_value_unset (&template_value);
|
||||||
g_free (opt_name);
|
g_free (opt_name);
|
||||||
|
|
Loading…
Reference in a new issue