diff options
author | Ihor Antonov <ngortheone@users.noreply.github.com> | 2019-07-15 21:32:53 -0400 |
---|---|---|
committer | Ihor Antonov <ngortheone@users.noreply.github.com> | 2019-07-15 21:32:53 -0400 |
commit | 31d256892e75b3ab5612b5b9ed1bc9ffd01c9d6a (patch) | |
tree | 19acc3a7b7dafd8468750e6295c8ffccd6e5d3e3 | |
parent | b06f29318df5adab76bba32b89b9af22043a39cb (diff) | |
download | rneovim-31d256892e75b3ab5612b5b9ed1bc9ffd01c9d6a.tar.gz rneovim-31d256892e75b3ab5612b5b9ed1bc9ffd01c9d6a.tar.bz2 rneovim-31d256892e75b3ab5612b5b9ed1bc9ffd01c9d6a.zip |
pvs/V1037: two case-branches perform the same action
-rw-r--r-- | src/nvim/ex_docmd.c | 6 |
1 files 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; |