mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
queue2: Fix uninitialized variable compiler warning
This commit is contained in:
parent
c80f263a19
commit
f534e35261
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue