mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
Fix warning
Original commit message from CVS: Fix warning
This commit is contained in:
parent
3a897e2f30
commit
ac84bc9a55
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ gst_parse_element_set (gchar *value, GstElement *element, graph_t *graph)
|
|||
break;
|
||||
case G_TYPE_ENUM: {
|
||||
GEnumValue *en;
|
||||
gchar **endptr;
|
||||
gchar **endptr = NULL;
|
||||
GEnumClass *klass = (GEnumClass *) g_type_class_peek (G_PARAM_SPEC_VALUE_TYPE (pspec));
|
||||
if (klass == NULL) goto error;
|
||||
if (!(en = g_enum_get_value_by_name (klass, pos)))
|
||||
|
|
Loading…
Reference in a new issue