aggregator: Avoid a maybe-uninitialized warning

Arch Linux x86_64, gcc 7.2.1-2, -Og -g3
This commit is contained in:
Jan Alexander Steffens (heftig) 2017-12-23 23:25:58 +01:00 committed by Tim-Philipp Müller
parent d431ef7190
commit 4636477d81

View file

@ -384,7 +384,7 @@ gst_aggregator_pad_queue_is_empty (GstAggregatorPad * pad)
static gboolean
gst_aggregator_check_pads_ready (GstAggregator * self)
{
GstAggregatorPad *pad;
GstAggregatorPad *pad = NULL;
GList *l, *sinkpads;
gboolean have_buffer = TRUE;
gboolean have_event_or_query = FALSE;