diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-01-14 00:46:32 -0500 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-01-14 15:08:19 -0500 |
commit | cd8e91b87ebda1850c22ea91068b679f7e8af3a4 (patch) | |
tree | a4772d0994b54ab9850a196f8590cc4638971680 /src/nvim/memline.c | |
parent | d86ebc7afb0f80a597d1361f54e838ce4689e36c (diff) | |
download | rneovim-cd8e91b87ebda1850c22ea91068b679f7e8af3a4.tar.gz rneovim-cd8e91b87ebda1850c22ea91068b679f7e8af3a4.tar.bz2 rneovim-cd8e91b87ebda1850c22ea91068b679f7e8af3a4.zip |
Macro cleanup: HAS_SWAP_EXISTS_ACTION
Neovim always ships with all features[0], so this serves no purpose.
Besides, this always evaluated to true.
[0]: https://github.com/neovim/neovim/wiki/Differences-from-vim
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r-- | src/nvim/memline.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index 930127b3ea..1fa6d6acc6 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -3367,9 +3367,7 @@ findswapname ( * for the current file, and the buffer was not recovered. */ if (differ == FALSE && !(curbuf->b_flags & BF_RECOVERED) && vim_strchr(p_shm, SHM_ATTENTION) == NULL) { -#if defined(HAS_SWAP_EXISTS_ACTION) int choice = 0; -#endif #ifdef UNIX process_still_running = FALSE; @@ -3427,7 +3425,6 @@ findswapname ( redraw_all_later(NOT_VALID); } -#if defined(HAS_SWAP_EXISTS_ACTION) if (choice > 0) { switch (choice) { case 1: @@ -3454,7 +3451,6 @@ findswapname ( if (!os_file_exists(fname)) break; } else -#endif { MSG_PUTS("\n"); if (msg_silent == 0) |