From 0a4c6d8fd2ce6b4f7bd0f0086f2409f9b56e7652 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 29 Oct 2003 04:11:11 +0000 Subject: [PATCH] clean up some warnings Original commit message from CVS: clean up some warnings --- gst/elements/gstbufferstore.c | 6 +++--- plugins/elements/gstbufferstore.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gst/elements/gstbufferstore.c b/gst/elements/gstbufferstore.c index d7dc0b37e1..04be0ed04a 100644 --- a/gst/elements/gstbufferstore.c +++ b/gst/elements/gstbufferstore.c @@ -328,7 +328,7 @@ gst_buffer_store_get_buffer (GstBufferStore *store, guint64 offset, guint size) GList *walk; guint8 *data; guint tmp; - guint64 cur_offset; + guint64 cur_offset = 0; gboolean have_offset; GstBuffer *ret = NULL; @@ -418,10 +418,10 @@ guint gst_buffer_store_get_size (GstBufferStore *store, guint64 offset) { GList *walk; - guint64 cur_offset; + guint64 cur_offset = 0; gboolean have_offset; gboolean counting = FALSE; - GstBuffer *current; + GstBuffer *current = NULL; guint ret = 0; g_return_val_if_fail (GST_IS_BUFFER_STORE (store), 0); diff --git a/plugins/elements/gstbufferstore.c b/plugins/elements/gstbufferstore.c index d7dc0b37e1..04be0ed04a 100644 --- a/plugins/elements/gstbufferstore.c +++ b/plugins/elements/gstbufferstore.c @@ -328,7 +328,7 @@ gst_buffer_store_get_buffer (GstBufferStore *store, guint64 offset, guint size) GList *walk; guint8 *data; guint tmp; - guint64 cur_offset; + guint64 cur_offset = 0; gboolean have_offset; GstBuffer *ret = NULL; @@ -418,10 +418,10 @@ guint gst_buffer_store_get_size (GstBufferStore *store, guint64 offset) { GList *walk; - guint64 cur_offset; + guint64 cur_offset = 0; gboolean have_offset; gboolean counting = FALSE; - GstBuffer *current; + GstBuffer *current = NULL; guint ret = 0; g_return_val_if_fail (GST_IS_BUFFER_STORE (store), 0);