1
0
forked from aniani/vim

patch 8.0.0441: dead code in #ifdef

Problem:    Dead code in #ifdef.
Solution:   Remove the #ifdef and #else part.
This commit is contained in:
Bram Moolenaar 2017-03-09 18:59:14 +01:00
parent eb992cb90f
commit ad2cfb54b7
2 changed files with 2 additions and 9 deletions

View 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)
{

View File

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