From: Tim-Philipp Müller Date: Sat, 2 Jun 2012 15:18:46 +0000 (+0100) Subject: pad: fix variable-set-but-not-used compiler warning X-Git-Tag: RELEASE-0.11.92~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b308b2b5ba7c874347d09e42511cdf7d6302016;p=platform%2Fupstream%2Fgstreamer.git pad: fix variable-set-but-not-used compiler warning --- diff --git a/gst/gstpad.c b/gst/gstpad.c index f94dc31..79bbb2e 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -3226,7 +3226,7 @@ check_sticky (GstPad * pad) gint i, len; len = events->len; - for (i = 0; i < events->len; i++) { + for (i = 0; i < len; i++) { PadEvent *ev = &g_array_index (events, PadEvent, i); if (G_UNLIKELY (ev->event == NULL) || ev->received)