]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Explicitly use STAILQ_REMOVE_HEAD() when we know we are removing the head
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 10 Jul 2006 19:28:57 +0000 (19:28 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 10 Jul 2006 19:28:57 +0000 (19:28 +0000)
commit0f8e0c3dd47a764868b6ab093feeebb684aa1c46
treef3be5ca31fa3699c4bbba886301d2de15c360b05
parent0bf8969c60d9847ef5b99e411f90aa39ad18d7ff
Explicitly use STAILQ_REMOVE_HEAD() when we know we are removing the head
element to avoid confusing Coverity.  It's now also easier for humans to
parse as well.

Found by: Coverity Prevent(tm)
CID: 1201
sys/kern/kern_linker.c