diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-06-03 08:22:35 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-03 08:22:35 +0300 | 
| commit | 1df49faf538643deae764da81265b912a870767c (patch) | |
| tree | 17d04c5e1831bd92f41ab45f688b104688107a3d | |
| parent | db613bd7e761f12ebdd55f6c15f3cfd08d4c9b1c (diff) | |
| parent | decb9afda4e8ae0b9584ca1c87cacd6387cbb034 (diff) | |
Merge pull request #16148 from FRRouting/mergify/bp/stable/9.0/pr-14429
ospf6d: fix uninitialized warnings (backport #14429)
| -rw-r--r-- | ospf6d/ospf6_intra.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c index 301fccecd7..eb5514adfb 100644 --- a/ospf6d/ospf6_intra.c +++ b/ospf6d/ospf6_intra.c @@ -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  | 
