0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.0.1744: Dead code in open_cmdwin()

Problem: Dead code in open_cmdwin()
Solution: Remove it

closes: #12839

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
This commit is contained in:
Sean Dewar
2023-08-19 13:23:50 +02:00
committed by Christian Brabandt
parent 04510566b1
commit c3172fe9e4
2 changed files with 2 additions and 5 deletions

View File

@@ -4613,11 +4613,6 @@ open_cmdwin(void)
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

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1744,
/**/
1743,
/**/