aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIhor Antonov <ngortheone@users.noreply.github.com>2019-07-28 20:48:44 -0400
committerIhor Antonov <ngortheone@users.noreply.github.com>2019-07-28 20:48:44 -0400
commited5f891e83a7b4cfd281fa45bd37bf62b43b61b2 (patch)
tree18d2c84f357abcb464d282821e7538ddc8e91af6
parentcaa8c06bae0ff351edb22d566a92a4b1009f191d (diff)
downloadrneovim-ed5f891e83a7b4cfd281fa45bd37bf62b43b61b2.tar.gz
rneovim-ed5f891e83a7b4cfd281fa45bd37bf62b43b61b2.tar.bz2
rneovim-ed5f891e83a7b4cfd281fa45bd37bf62b43b61b2.zip
pvs/V560: part of conditional expression is always false
makemap: same condition is used to skip outer loop cycle
-rw-r--r--src/nvim/getchar.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 1a311a109f..eb2fe37b53 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -4123,9 +4123,6 @@ makemap (
return FAIL;
if (mp->m_silent && fputs(" <silent>", fd) < 0)
return FAIL;
- if (mp->m_noremap == REMAP_SCRIPT
- && fputs("<script>", fd) < 0)
- return FAIL;
if (mp->m_expr && fputs(" <expr>", fd) < 0)
return FAIL;