aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Merritt <lucas.j.merritt@gmail.com>2023-01-17 16:22:25 -0700
committerGitHub <noreply@github.com>2023-01-18 07:22:25 +0800
commit1453c7163d1cc94c8ff5b21dc7669195587e4461 (patch)
treee5c39a510d74e1b94596d650d6eb93ef8176ad24
parent847e6035546f567ce6d30ff45a47550e9a335c6b (diff)
downloadrneovim-1453c7163d1cc94c8ff5b21dc7669195587e4461.tar.gz
rneovim-1453c7163d1cc94c8ff5b21dc7669195587e4461.tar.bz2
rneovim-1453c7163d1cc94c8ff5b21dc7669195587e4461.zip
refactor(PVS/V1048): remove unnecessary assignment (#21870)
-rw-r--r--src/nvim/usercmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/usercmd.c b/src/nvim/usercmd.c
index a8e4603aa2..31cb1e8936 100644
--- a/src/nvim/usercmd.c
+++ b/src/nvim/usercmd.c
@@ -1432,7 +1432,7 @@ static size_t uc_check_code(char *code, size_t len, char *buf, ucmd_T *cmd, exar
l++;
if (l <= 1) {
- type = ct_NONE;
+ // type = ct_NONE;
} else if (STRNICMP(p, "args>", l) == 0) {
type = ct_ARGS;
} else if (STRNICMP(p, "bang>", l) == 0) {