]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Taming static checker: rt_notify never sets net_addr to zero
authorMaria Matejka <mq@ucw.cz>
Fri, 31 Jan 2025 22:54:29 +0000 (23:54 +0100)
committerMaria Matejka <mq@ucw.cz>
Mon, 10 Mar 2025 10:17:11 +0000 (11:17 +0100)
proto/bgp/attrs.c

index b76b166282d07af4c6eac0d41f902b2e8f91c1d1..aa1263f06c666591c9fd2fd6e813c9e0ca52e041 100644 (file)
@@ -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;