nbr cannot be NULL. Doing such test does confuse clang since
we do not have execution case if nbr == NULL.
Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
struct TLV_MD5_Authentication_Type *auth_TLV;
struct eigrp_header *eigrph;
- if (nbr && ntohl(nbr->crypt_seqnum) > ntohl(authTLV->key_sequence)) {
+ if (ntohl(nbr->crypt_seqnum) > ntohl(authTLV->key_sequence)) {
zlog_warn(
"interface %s: eigrp_check_md5 bad sequence %d (expect %d)",
IF_NAME(nbr->ei), ntohl(authTLV->key_sequence),