diff options
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index bf7e269acc..3c429ce1a7 100644 --- a/lib/command.c +++ b/lib/command.c @@ -671,7 +671,7 @@ cmd_complete_command (vector vline, struct vty *vty, int *status) 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)) |
