From 31d256892e75b3ab5612b5b9ed1bc9ffd01c9d6a Mon Sep 17 00:00:00 2001 From: Ihor Antonov Date: Mon, 15 Jul 2019 21:32:53 -0400 Subject: pvs/V1037: two case-branches perform the same action --- src/nvim/ex_docmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 1d27cf338e..b1d93063c4 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -8457,9 +8457,9 @@ static void ex_tag_cmd(exarg_T *eap, char_u *name) break; case 's': cmd = DT_SELECT; /* ":tselect" */ break; - case 'p': cmd = DT_PREV; /* ":tprevious" */ - break; - case 'N': cmd = DT_PREV; /* ":tNext" */ + case 'p': /* ":tprevious" */ + case 'N': /* ":tNext" */ + cmd = DT_PREV; break; case 'n': cmd = DT_NEXT; /* ":tnext" */ break; -- cgit