diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-06-03 08:22:59 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-03 08:22:59 +0300 |
| commit | 2e867bffed23fd4d5d4a547dcfd9fe1ca8955a17 (patch) | |
| tree | e9bbf42a57cc6cd2d9f1ffdb0b9ec4502c8633d1 | |
| parent | bf5ee727eb7e07606e80570d72f741b394f510c6 (diff) | |
| parent | a5b05ecd282646322b679159240309686e3e1c1d (diff) | |
Merge pull request #16147 from FRRouting/mergify/bp/stable/8.5/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 52bb745d74..c14eb3300e 100644 --- a/ospf6d/ospf6_intra.c +++ b/ospf6d/ospf6_intra.c @@ -102,7 +102,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 = @@ -475,7 +475,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 |
