Mercurial > vim
comparison src/option.c @ 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 | d2178a6cc9f3 |
children | 778c10516955 |
comparison
equal
deleted
inserted
replaced
11106:90c14ea3723f | 11107:cde7933ad315 |
---|---|
4127 { | 4127 { |
4128 p_shcf = (char_u *)"-c"; | 4128 p_shcf = (char_u *)"-c"; |
4129 options[idx3].def_val[VI_DEFAULT] = p_shcf; | 4129 options[idx3].def_val[VI_DEFAULT] = p_shcf; |
4130 } | 4130 } |
4131 | 4131 |
4132 # ifdef WIN3264 | |
4133 /* Somehow Win32 requires the quotes around the redirection too */ | 4132 /* Somehow Win32 requires the quotes around the redirection too */ |
4134 idx3 = findoption((char_u *)"sxq"); | 4133 idx3 = findoption((char_u *)"sxq"); |
4135 if (idx3 >= 0 && !(options[idx3].flags & P_WAS_SET)) | 4134 if (idx3 >= 0 && !(options[idx3].flags & P_WAS_SET)) |
4136 { | 4135 { |
4137 p_sxq = (char_u *)"\""; | 4136 p_sxq = (char_u *)"\""; |
4138 options[idx3].def_val[VI_DEFAULT] = p_sxq; | 4137 options[idx3].def_val[VI_DEFAULT] = p_sxq; |
4139 } | 4138 } |
4140 # else | |
4141 idx3 = findoption((char_u *)"shq"); | |
4142 if (idx3 >= 0 && !(options[idx3].flags & P_WAS_SET)) | |
4143 { | |
4144 p_shq = (char_u *)"\""; | |
4145 options[idx3].def_val[VI_DEFAULT] = p_shq; | |
4146 } | |
4147 # endif | |
4148 } | 4139 } |
4149 else if (strstr((char *)gettail(p_sh), "cmd.exe") != NULL) | 4140 else if (strstr((char *)gettail(p_sh), "cmd.exe") != NULL) |
4150 { | 4141 { |
4151 int idx3; | 4142 int idx3; |
4152 | 4143 |