From 9b308b2b5ba7c874347d09e42511cdf7d6302016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 2 Jun 2012 16:18:46 +0100 Subject: [PATCH] pad: fix variable-set-but-not-used compiler warning --- gst/gstpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index f94dc310e4..79bbb2e25a 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)