aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2019-04-07 20:01:05 -0400
committerJames McCoy <jamessan@jamessan.com>2019-04-08 07:57:18 -0400
commit6572c995fb5a3b7dc41f077e0434810e6679f96d (patch)
tree74df7b3eb3f5ccc3c7be0ba0a29792fc129a5394 /src/nvim/option.c
parentb8df2c6ebd96f2cb06e19da909623085d7b23932 (diff)
downloadrneovim-6572c995fb5a3b7dc41f077e0434810e6679f96d.tar.gz
rneovim-6572c995fb5a3b7dc41f077e0434810e6679f96d.tar.bz2
rneovim-6572c995fb5a3b7dc41f077e0434810e6679f96d.zip
Remove MSVC optimization workaround for SHM_ALL
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 30dabcdd7d..026d8e2121 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -2495,11 +2495,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.
@@ -3391,9 +3386,6 @@ ambw_end:
return errmsg;
}
-#ifdef _MSC_VER
-#pragma optimize("", on)
-#endif
/*
* Simple int comparison function for use with qsort()