summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index e8ba637623..cfadfcef62 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2089,7 +2089,7 @@ cmd_describe_command_real (vector vline, struct vty *vty, int *status)
unsigned int index;
int ret;
enum match_type match;
- char *command;
+ char *command = NULL;
vector matches = NULL;
vector match_vector;
uint32_t command_found = 0;