From ae1d854abff2ab64259ba7f73b282420fa2ea5ef Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Fri, 5 Jan 2024 06:45:34 +0000 Subject: [PATCH] lib: fix initializer warning on centos 7. Signed-off-by: Christian Hopps --- lib/mgmt_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mgmt_msg.c b/lib/mgmt_msg.c index 23cfbc3b0158..99d000537ce9 100644 --- a/lib/mgmt_msg.c +++ b/lib/mgmt_msg.c @@ -682,7 +682,7 @@ static int msg_client_connect_short_circuit(struct msg_client *client) struct msg_server *server; const char *dbgtag = client->conn.debug ? client->conn.mstate.idtag : NULL; - union sockunion su = {0}; + union sockunion su = {}; int sockets[2]; frr_each (msg_server_list, &msg_servers, server)