mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
pad: fix variable-set-but-not-used compiler warning
This commit is contained in:
parent
0ca7b85ead
commit
9b308b2b5b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue