[gst-cvs] gstreamer: structure: no need to clear on init
Wim Taymans
wtay at kemper.freedesktop.org
Sun Jun 7 05:31:27 PDT 2009
Module: gstreamer
Branch: master
Commit: c6e6e7c97b2ff7797d5ba512a697840fe54115d6
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=c6e6e7c97b2ff7797d5ba512a697840fe54115d6
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Sun Jun 7 14:30:28 2009 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/gststructure.c b/gst/gststructure.c
index 2d6c3e8..4bc975f 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);
More information about the Gstreamer-commits
mailing list