From cd8e91b87ebda1850c22ea91068b679f7e8af3a4 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Wed, 14 Jan 2015 00:46:32 -0500 Subject: 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 --- src/nvim/fileio.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/nvim/fileio.c') diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 76f7779eb0..370584b095 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -636,14 +636,12 @@ readfile ( #endif } -#if defined(HAS_SWAP_EXISTS_ACTION) /* If "Quit" selected at ATTENTION dialog, don't load the file */ if (swap_exists_action == SEA_QUIT) { if (!read_buffer && !read_stdin) close(fd); return FAIL; } -#endif ++no_wait_return; /* don't wait for return yet */ -- cgit