]> 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>
Wed, 12 Feb 2025 11:40:04 +0000 (12:40 +0100)
proto/bgp/attrs.c

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