summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-06-07 14:30:28 +0200
committerWim Taymans <wim@metal.(none)>2009-06-07 14:30:28 +0200
commitc6e6e7c97b2ff7797d5ba512a697840fe54115d6 (patch)
treeb48b16218b67a9570a8bfb2f33574b773209b63f
parent766e7afc234f8891a2e1c1084017c3434cb45da1 (diff)
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.
-rw-r--r--gst/gststructure.c2
1 files changed, 1 insertions, 1 deletions
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);