From 49a0dec1fe889ca444984af25129874f0fa4e52d Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Mon, 12 Jun 2017 03:49:38 +0700 Subject: vty/command.c: drop useless assignment Change-Id: Ia30b6481ee570c6cf3e3b38e7a78028c66c036b7 --- src/vty/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vty/command.c') 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++) { -- cgit v1.2.3