reported by clang for:
- cmd_complete_command()
- show_ip_bgp_ipv4()
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
char *vrf = NULL;
afi_t afi = AFI_IP6;
safi_t safi = SAFI_UNICAST;
- int exact_match;
+ int exact_match = 0;
enum bgp_show_type sh_type = bgp_show_type_normal;
int idx = 0;
vector_set_index (input_line, index + offset, vector_lookup (vline, index));
// get token completions -- this is a copying operation
- vector comps, initial_comps;
+ vector comps = NULL, initial_comps;
initial_comps = cmd_complete_command_real (input_line, vty, status);
if (!MATCHER_ERROR (*status))