From: Maria Matejka Date: Fri, 31 Jan 2025 22:54:29 +0000 (+0100) Subject: Taming static checker: rt_notify never sets net_addr to zero X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c98abefc284f617bb57cd8960c57cea5cfafc53;p=thirdparty%2Fbird.git Taming static checker: rt_notify never sets net_addr to zero --- diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index db6542343..b986ac8b8 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -2389,7 +2389,7 @@ bgp_update_attrs(struct bgp_proto *p, struct bgp_channel *c, rte *e, ea_list *at return bgp_export_attrs(&s, attrs); } -void +void NONNULL(3) bgp_rt_notify(struct proto *P, struct channel *C, const net_addr *n, rte *new, const rte *old) { struct bgp_proto *p = (void *) P;