summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 238b1d905..3a46835d1 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -1153,7 +1153,6 @@ static char *command_generator(const char *text, int state)
return matched[index++];
XFREE(MTYPE_TMP, matched);
- matched = NULL;
return NULL;
}