From: claudio Date: Tue, 7 Mar 2023 10:30:38 +0000 (+0000) Subject: Remove pre-c99 gcc workaround which is no longer needed. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ab34a4b106bb3f6a48d64ab576ce19ed2af7ac45;p=openbsd Remove pre-c99 gcc workaround which is no longer needed. --- diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 4d3bfc782b8..126c348ae1a 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -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 @@ -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;