Remove pre-c99 gcc workaround which is no longer needed.
authorclaudio <claudio@openbsd.org>
Tue, 7 Mar 2023 10:30:38 +0000 (10:30 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 7 Mar 2023 10:30:38 +0000 (10:30 +0000)
usr.sbin/bgpd/kroute.c

index 4d3bfc7..126c348 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: kroute.c,v 1.303 2022/12/28 21:30:16 jmc Exp $ */
+/*     $OpenBSD: kroute.c,v 1.304 2023/03/07 10:30:38 claudio Exp $ */
 
 /*
  * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1040,7 +1040,7 @@ kr_show_route(struct imsg *imsg)
 static void
 kr_send_dependon(struct kif *kif)
 {
-       struct session_dependon sdon = { {0} };
+       struct session_dependon sdon = { 0 };
 
        strlcpy(sdon.ifname, kif->ifname, sizeof(sdon.ifname));
        sdon.depend_state = kif->depend_state;