mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-04 18:50:05 +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) {
|
if (!pim_ifp->mld) {
|
||||||
changed = true;
|
changed = true;
|
||||||
gm_start(ifp);
|
gm_start(ifp);
|
||||||
|
assume(pim_ifp->mld != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
gm_ifp = pim_ifp->mld;
|
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;
|
struct gm_if *gm_ifp = pim_ifp->mld;
|
||||||
bool querier;
|
bool querier;
|
||||||
|
|
||||||
|
assume(js_if || tt);
|
||||||
|
|
||||||
querier = IPV6_ADDR_SAME(&gm_ifp->querier, &pim_ifp->ll_lowest);
|
querier = IPV6_ADDR_SAME(&gm_ifp->querier, &pim_ifp->ll_lowest);
|
||||||
|
|
||||||
if (js_if) {
|
if (js_if) {
|
||||||
|
Loading…
Reference in New Issue
Block a user