Mercurial > vim
changeset 11107:cde7933ad315 v8.0.0441
patch 8.0.0441: dead code in #ifdef
commit https://github.com/vim/vim/commit/ad2cfb54b78523435b31de7234081ff70a53e736
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 9 18:59:14 2017 +0100
patch 8.0.0441: dead code in #ifdef
Problem: Dead code in #ifdef.
Solution: Remove the #ifdef and #else part.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 09 Mar 2017 19:00:06 +0100 |
parents | 90c14ea3723f |
children | 6c7a4a958393 |
files | src/option.c src/version.c |
diffstat | 2 files changed, 2 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -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) {