avutil/add_to_pool: remove unused assgnment

Fixed CID991859
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-03-19 13:35:10 +01:00
parent b619a54853
commit f1c3d8b344

View File

@ -263,7 +263,7 @@ static void add_to_pool(BufferPoolEntry *buf)
while (end->next) while (end->next)
end = end->next; end = end->next;
while ((cur = avpriv_atomic_ptr_cas((void * volatile *)&pool->pool, NULL, buf))) { while (avpriv_atomic_ptr_cas((void * volatile *)&pool->pool, NULL, buf)) {
/* pool is not empty, retrieve it and append it to our list */ /* pool is not empty, retrieve it and append it to our list */
cur = get_pool(pool); cur = get_pool(pool);
end->next = cur; end->next = cur;