structure: no need to clear on init

We don't need to clear the field on init because we will do that again before we
are going to use the field later.
This commit is contained in:
Wim Taymans 2009-06-07 14:30:28 +02:00 committed by Wim Taymans
parent 766e7afc23
commit c6e6e7c97b

View file

@ -1968,7 +1968,7 @@ gst_structure_from_string (const gchar * string, gchar ** end)
char *r;
char save;
GstStructure *structure = NULL;
GstStructureField field = { 0 };
GstStructureField field;
g_return_val_if_fail (string != NULL, NULL);