From 267fa38ed36a5960e8cba5303dd3abee1ff7d7a6 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 11 Apr 2018 15:21:55 -0400 Subject: [PATCH] ospf6d: assert nh list is non-null clang-analyze Signed-off-by: Quentin Young --- ospf6d/ospf6_intra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c index 519c5e170f..de4ee2e1ac 100644 --- a/ospf6d/ospf6_intra.c +++ b/ospf6d/ospf6_intra.c @@ -1844,6 +1844,7 @@ void ospf6_intra_prefix_lsa_remove(struct ospf6_lsa *lsa) INTRA_PREFIX)) { prefix2str(&route->prefix, buf, sizeof(buf)); + assert(route->nh_list); zlog_debug("%s: route %s update paths %u nh %u" , __PRETTY_FUNCTION__, buf,