Merge pull request #16148 from FRRouting/mergify/bp/stable/9.0/pr-14429

ospf6d: fix uninitialized warnings (backport #14429)
This commit is contained in:
Donatas Abraitis 2024-06-03 08:22:35 +03:00 committed by GitHub
commit 1df49faf53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ static int ospf6_router_lsa_show(struct vty *vty, struct ospf6_lsa *lsa,
char buf[32], name[32], bits[16], options[32];
struct ospf6_router_lsa *router_lsa;
struct ospf6_router_lsdesc *lsdesc;
json_object *json_arr;
json_object *json_arr = NULL;
json_object *json_loop;
router_lsa =
@ -460,7 +460,7 @@ static int ospf6_network_lsa_show(struct vty *vty, struct ospf6_lsa *lsa,
struct ospf6_network_lsa *network_lsa;
struct ospf6_network_lsdesc *lsdesc;
char buf[128], options[32];
json_object *json_arr;
json_object *json_arr = NULL;
network_lsa =
(struct ospf6_network_lsa *)((caddr_t)lsa->header