From aade232c5404d94ea1db050388b7a242d3dc5320 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Mon, 21 Sep 2020 23:18:26 +0700 Subject: vty: cosmetic: drop redundant 'break' statements Change-Id: I54ee7c3c6fe16a413d0e1128c7358ff6e4b76c6a --- src/vty/vty.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vty/vty.c b/src/vty/vty.c index ebdf9fc9..e335f3a7 100644 --- a/src/vty/vty.c +++ b/src/vty/vty.c @@ -1143,14 +1143,12 @@ static void vty_describe_command(struct vty *vty) 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. */ -- cgit v1.2.3