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
This commit is contained in:
Michael Reed
2015-01-14 00:46:32 -05:00
parent d86ebc7afb
commit cd8e91b87e
6 changed files with 0 additions and 39 deletions

View File

@@ -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)