vty/command.c: drop useless assignment
Change-Id: Ia30b6481ee570c6cf3e3b38e7a78028c66c036b7
diff --git a/src/vty/command.c b/src/vty/command.c
index e50706e..0168462 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -1655,7 +1655,7 @@
/* Make sure that cmd_vector is filtered based on current word */
command = vector_slot(vline, index);
if (command)
- match = cmd_filter(command, cmd_vector, index, any_match);
+ cmd_filter(command, cmd_vector, index, any_match);
/* Make description vector. */
for (i = 0; i < vector_active(cmd_vector); i++) {