]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: fix initializer warning on centos 7. 15095/head
authorChristian Hopps <chopps@labn.net>
Fri, 5 Jan 2024 06:45:34 +0000 (06:45 +0000)
committerChristian Hopps <chopps@labn.net>
Fri, 5 Jan 2024 06:45:34 +0000 (06:45 +0000)
Signed-off-by: Christian Hopps <chopps@labn.net>
lib/mgmt_msg.c

index 23cfbc3b0158f13d3a2a46541abfbe79d3c7b650..99d000537ce9974e9376407d862947801974908e 100644 (file)
@@ -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)