summaryrefslogtreecommitdiffstats
path: root/src/vty/command.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-06-12 03:49:38 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-06-13 20:22:19 +0700
commit49a0dec1fe889ca444984af25129874f0fa4e52d (patch)
tree1c65f7ba1da81368e7b681b80a44bd2385365708 /src/vty/command.c
parent6e6978ad1224eb0f1c9e5472a7ee6e923b1ab872 (diff)
vty/command.c: drop useless assignment
Change-Id: Ia30b6481ee570c6cf3e3b38e7a78028c66c036b7
Diffstat (limited to 'src/vty/command.c')
-rw-r--r--src/vty/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/command.c b/src/vty/command.c
index e50706e8..01684622 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -1655,7 +1655,7 @@ cmd_describe_command_real(vector vline, struct vty *vty, int *status)
/* 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++) {