mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-21 17:21:13 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue