Commit f534e352 authored by Philippe Normand's avatar Philippe Normand 🥑 Committed by Sebastian Dröge

queue2: Fix uninitialized variable compiler warning

parent c80f263a
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment