Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v
retrieving revision 1.966.2.119
diff -u -p -u -p -r1.966.2.119 ChangeLog
--- ChangeLog	27 Oct 2005 09:09:35 -0000	1.966.2.119
+++ ChangeLog	16 Dec 2005 15:01:53 -0000
@@ -1,3 +1,13 @@
+2005-12-16  Christian Kirbach  <Christian.Kirbach@student.uni-siegen.de>
+
+	* gst/autoplug/gstspider.c: (gst_spider_identity_unplug),
+	  (gst_spider_create_and_plug):
+	* gst/elements/gstbufferstore.c: (gst_buffer_store_add_buffer_func):
+	   Do not silently discard return values of g_list_delete_link()
+	   and g_list_append(). This would trigger gcc4 warnings that
+	   are treated as errors.
+
+	
 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
 
 	* examples/retag/retag.c: (main):
Index: gst/autoplug/gstspider.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/gst/autoplug/Attic/gstspider.c,v
retrieving revision 1.50
diff -u -p -u -p -r1.50 gstspider.c
--- gst/autoplug/gstspider.c	25 Aug 2004 14:25:55 -0000	1.50
+++ gst/autoplug/gstspider.c	16 Dec 2005 15:01:55 -0000
@@ -529,8 +529,10 @@ gst_spider_identity_unplug (GstSpiderIde
     GstSpiderConnection *conn = list->data;
 
     if (conn->src == ident) {
-      g_list_delete_link (spider->links, list);
+      spider->links = g_list_delete_link (spider->links, list);
       gst_spider_link_destroy (conn);
+      /* assuming we have found the one and only list item */
+      break;
     }
   }
   ident->plugged = FALSE;
@@ -561,7 +563,7 @@ gst_spider_create_and_plug (GstSpiderCon
 
       endelements = g_list_prepend (endelements, element);
       templist = g_list_previous (templist);
-      g_list_delete_link (cur, cur);
+      cur = g_list_delete_link (cur, cur);
     }
   }
 
Index: gst/elements/gstbufferstore.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/gst/elements/Attic/gstbufferstore.c,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 gstbufferstore.c
--- gst/elements/gstbufferstore.c	30 Nov 2004 23:45:36 -0000	1.15
+++ gst/elements/gstbufferstore.c	16 Dec 2005 15:01:56 -0000
@@ -233,7 +233,7 @@ gst_buffer_store_add_buffer_func (GstBuf
           "adding buffer %p with offset %" G_GINT64_FORMAT " and size %u",
           buffer, GST_BUFFER_OFFSET (buffer), GST_BUFFER_SIZE (buffer));
       if (current_list) {
-        g_list_append (current_list, buffer);
+        current_list = g_list_append (current_list, buffer);
       } else {
         g_assert (store->buffers == NULL);
         store->buffers = g_list_prepend (NULL, buffer);
