]> granicus.if.org Git - vim/commitdiff
patch 8.0.0441: dead code in #ifdef v8.0.0441
authorBram Moolenaar <Bram@vim.org>
Thu, 9 Mar 2017 17:59:14 +0000 (18:59 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 9 Mar 2017 17:59:14 +0000 (18:59 +0100)
Problem:    Dead code in #ifdef.
Solution:   Remove the #ifdef and #else part.

src/option.c
src/version.c

index b0baf501854de9a15f6467872790af5da21d6937..2e2f0f1a646403cab88fa397b2a4fb20c6d6565c 100644 (file)
@@ -4129,7 +4129,6 @@ set_init_3(void)
            options[idx3].def_val[VI_DEFAULT] = p_shcf;
        }
 
-# ifdef WIN3264
        /* Somehow Win32 requires the quotes around the redirection too */
        idx3 = findoption((char_u *)"sxq");
        if (idx3 >= 0 && !(options[idx3].flags & P_WAS_SET))
@@ -4137,14 +4136,6 @@ set_init_3(void)
            p_sxq = (char_u *)"\"";
            options[idx3].def_val[VI_DEFAULT] = p_sxq;
        }
-# else
-       idx3 = findoption((char_u *)"shq");
-       if (idx3 >= 0 && !(options[idx3].flags & P_WAS_SET))
-       {
-           p_shq = (char_u *)"\"";
-           options[idx3].def_val[VI_DEFAULT] = p_shq;
-       }
-# endif
     }
     else if (strstr((char *)gettail(p_sh), "cmd.exe") != NULL)
     {
index 1bc45d6acd69d34b9c736b0bc38669dac4279910..aee70ef655277544703c15cc2a3e8cd5d5087e19 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    441,
 /**/
     440,
 /**/