Change in libosmocore[master]: vty: cosmetic: drop redundant 'break' statements

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/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Sep 22 19:29:28 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/20235 )

Change subject: vty: cosmetic: drop redundant 'break' statements
......................................................................

vty: cosmetic: drop redundant 'break' statements

Change-Id: I54ee7c3c6fe16a413d0e1128c7358ff6e4b76c6a
---
M src/vty/vty.c
1 file changed, 0 insertions(+), 2 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/src/vty/vty.c b/src/vty/vty.c
index ebdf9fc..e335f3a 100644
--- a/src/vty/vty.c
+++ b/src/vty/vty.c
@@ -1143,14 +1143,12 @@
 		vty_prompt(vty);
 		vty_redraw_line(vty);
 		return;
-		break;
 	case CMD_ERR_NO_MATCH:
 		cmd_free_strvec(vline);
 		vty_out(vty, "%% There is no matched command.%s", VTY_NEWLINE);
 		vty_prompt(vty);
 		vty_redraw_line(vty);
 		return;
-		break;
 	}
 
 	/* Get width of command string. */

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/20235
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I54ee7c3c6fe16a413d0e1128c7358ff6e4b76c6a
Gerrit-Change-Number: 20235
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200922/68dbdcce/attachment.htm>


More information about the gerrit-log mailing list