diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-01-05 23:09:59 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-01-05 23:19:23 +0100 |
commit | 46fc0437ba022f8360f9b614a9b2e942bd815cf5 (patch) | |
tree | 5a81e16ea4dcda936f1995299df87d2689692756 | |
parent | 2a325892c22fa7709590245eb33590bc7315a1a3 (diff) | |
download | rneovim-46fc0437ba022f8360f9b614a9b2e942bd815cf5.tar.gz rneovim-46fc0437ba022f8360f9b614a9b2e942bd815cf5.tar.bz2 rneovim-46fc0437ba022f8360f9b614a9b2e942bd815cf5.zip |
PVS/V547: Expression is always false
-rw-r--r-- | src/nvim/ex_getln.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index bfc32887ca..4ea25117d9 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -6197,9 +6197,6 @@ static int open_cmdwin(void) stuffReadbuff(p); stuffcharReadbuff(CAR); } - } else if (cmdwin_result == K_XF2) { /* :qa typed */ - ccline.cmdbuff = vim_strsave((char_u *)"qa"); - cmdwin_result = CAR; } else if (cmdwin_result == Ctrl_C) { /* :q or :close, don't execute any command * and don't modify the cmd window. */ |