value: silence a maybe-unitialized warning
gstvalue.c:376:8: error: ‘s_val’ may be used uninitialized [-Werror=maybe-uninitialized] Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
parent
72edd65710
commit
8e758c715b
@ -353,7 +353,7 @@ _priv_gst_value_serialize_any_list (const GValue * value, const gchar * begin,
|
||||
GstValueList *vlist = value->data[0].v_pointer;
|
||||
GString *s;
|
||||
GValue *v;
|
||||
gchar *s_val;
|
||||
gchar *s_val = NULL;
|
||||
guint alen = vlist->len;
|
||||
|
||||
/* estimate minimum string length to minimise re-allocs in GString */
|
||||
|
Loading…
x
Reference in New Issue
Block a user