]> granicus.if.org Git - curl/commit
add_next_timeout: minor restructure of code
authorDaniel Stenberg <daniel@haxx.se>
Wed, 8 Aug 2012 12:50:32 +0000 (14:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Aug 2012 12:50:32 +0000 (14:50 +0200)
commit14afbf361a4fbce8153d98dba4145e5693a92e98
treea138de656fa88c30dbf1735a762d52af433d36f7
parentbf6dc61967c044e2d4fb695f651a8c728c421cb6
add_next_timeout: minor restructure of code

By reading the ->head pointer and using that instead of the ->size
number to figure out if there's a list remaining we avoid the (false
positive) clang-analyzer warning that we might dereference of a null
pointer.
lib/multi.c