[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-cvs
Subject:    gstreamer: queuearray: remove duplicate assignment
From:       tpm () kemper ! freedesktop ! org (Tim Müller)
Date:       2015-05-30 11:41:14
Message-ID: 20150530114114.791A7761E7 () kemper ! freedesktop ! org
[Download RAW message or body]

Module: gstreamer
Branch: master
Commit: 828ceacc68551bbf41223b050bc89d4c75cddf25
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=828ceacc68551bbf41223b050bc89d4c75cddf25


Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Sat May 30 12:39:19 2015 +0100

queuearray: remove duplicate assignment

We've already done this earlier in the function,
and nothing has changed since we first read it.

---

 libs/gst/base/gstqueuearray.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libs/gst/base/gstqueuearray.c b/libs/gst/base/gstqueuearray.c
index 5ff03fd..5a69b69 100644
--- a/libs/gst/base/gstqueuearray.c
+++ b/libs/gst/base/gstqueuearray.c
@@ -269,7 +269,6 @@ gst_queue_array_drop_element (GstQueueArray * array, guint idx)
   }
 
   if (idx > first_item_index) {
-    element = array->array[idx];
     /* idx is after first_item_index, move data to higher indices */
     memmove (&array->array[first_item_index + 1],
         &array->array[first_item_index],


[Attachment #3 (text/plain)]

_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic