]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1744: Dead code in open_cmdwin() v9.0.1744
authorSean Dewar <seandewar@users.noreply.github.com>
Sat, 19 Aug 2023 11:23:50 +0000 (13:23 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 19 Aug 2023 11:23:50 +0000 (13:23 +0200)
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>
src/ex_getln.c
src/version.c

index 55b4632ac3c282fae323fd317b07393067a785e5..dff7ec9ff5e642be389f87b503e305890d7a3ab4 100644 (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
index 1ee8dd33a34383a9d476d096007c24d4587bb61c..c41db31b6e15e96f3d1a1333eff69a8f5b3976c0 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1744,
 /**/
     1743,
 /**/