[MERGED] libosmocore[master]: vty/command.c: drop useless assignment

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Jun 15 14:39:40 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: vty/command.c: drop useless assignment
......................................................................


vty/command.c: drop useless assignment

Change-Id: Ia30b6481ee570c6cf3e3b38e7a78028c66c036b7
---
M src/vty/command.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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++) {

-- 
To view, visit https://gerrit.osmocom.org/2880
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia30b6481ee570c6cf3e3b38e7a78028c66c036b7
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list