diff options
author | James McCoy <jamessan@jamessan.com> | 2019-04-07 20:01:05 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-04-12 02:44:35 +0200 |
commit | 9a5488c2a67e0066d4f2f8aeaf8058deaa58ce7a (patch) | |
tree | 981a72b8de8196523981024fbb98f4cf8cf76f17 /src | |
parent | 1793ba81762f5b3ba3e10357b490cf4165aafcea (diff) | |
download | rneovim-9a5488c2a67e0066d4f2f8aeaf8058deaa58ce7a.tar.gz rneovim-9a5488c2a67e0066d4f2f8aeaf8058deaa58ce7a.tar.bz2 rneovim-9a5488c2a67e0066d4f2f8aeaf8058deaa58ce7a.zip |
Remove MSVC optimization workaround for SHM_ALL
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/option.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index cc612a6d99..a09bd2915d 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2426,11 +2426,6 @@ static bool valid_filetype(char_u *val) return true; } -#ifdef _MSC_VER -// MSVC optimizations are disabled for this function because it -// incorrectly generates an empty string for SHM_ALL. -#pragma optimize("", off) -#endif /* * Handle string options that need some action to perform when changed. * Returns NULL for success, or an error message for an error. @@ -3320,9 +3315,6 @@ did_set_string_option ( return errmsg; } -#ifdef _MSC_VER -#pragma optimize("", on) -#endif /* * Simple int comparison function for use with qsort() |