queue2: Fix uninitialized variable compiler warning

This commit is contained in:
Philippe Normand 2010-03-24 10:57:08 +01:00 committed by Sebastian Dröge
parent c80f263a19
commit f534e35261

View file

@ -478,7 +478,8 @@ clean_ranges (GstQueue2 * queue)
static GstQueue2Range *
find_range (GstQueue2 * queue, guint64 offset, guint64 length)
{
GstQueue2Range *range, *walk;
GstQueue2Range *range = NULL;
GstQueue2Range *walk;
/* first do a quick check for the current range */
for (walk = queue->ranges; walk; walk = walk->next) {