mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 15:36:25 +00:00
pimd: annotate some pointers as non-null
... make static analysis happy. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
ac4304d0fa
commit
54c037a187
@ -2271,6 +2271,7 @@ void gm_ifp_update(struct interface *ifp)
|
||||
if (!pim_ifp->mld) {
|
||||
changed = true;
|
||||
gm_start(ifp);
|
||||
assume(pim_ifp->mld != NULL);
|
||||
}
|
||||
|
||||
gm_ifp = pim_ifp->mld;
|
||||
@ -2406,6 +2407,8 @@ static void gm_show_if_one(struct vty *vty, struct interface *ifp,
|
||||
struct gm_if *gm_ifp = pim_ifp->mld;
|
||||
bool querier;
|
||||
|
||||
assume(js_if || tt);
|
||||
|
||||
querier = IPV6_ADDR_SAME(&gm_ifp->querier, &pim_ifp->ll_lowest);
|
||||
|
||||
if (js_if) {
|
||||
|
Loading…
Reference in New Issue
Block a user