From c6e6e7c97b2ff7797d5ba512a697840fe54115d6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 7 Jun 2009 14:30:28 +0200 Subject: 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. --- gst/gststructure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gststructure.c b/gst/gststructure.c index 2d6c3e84f..4bc975f9a 100644 --- a/gst/gststructure.c +++ b/gst/gststructure.c @@ -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); -- cgit v1.2.3