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-Tag: v3.1.0~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b73e9a80238163c2cd167a4bc72ec8f9812daa5;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 b76b16628..aa1263f06 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -2399,7 +2399,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;