]> git.puffer.fish Git - matthieu/frr.git/commit
lib: remove ALL_LIST_ELEMENTS dead code branch
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 27 Nov 2012 02:21:44 +0000 (03:21 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 11 Jan 2013 21:09:34 +0000 (22:09 +0100)
commita5c851c7ff41ef846e83d62394176ac1753ebf45
treeb53c24d74e7db4d5e6cdd30199cb39093df0a5a4
parent913ff66ba30093d2fdc26af215f4bc0b3d359d75
lib: remove ALL_LIST_ELEMENTS dead code branch

ALL_LIST_ELEMENTS is checking node == NULL twice, which is causing a
whole slew of false positives in Coverity.  In this particular case,
addressing this in the code is reasonable; being a macro, this appears
all over the place without easy remedy.

Acked-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/linklist.h