aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index acdef5cd12..302f6b30fb 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -1755,13 +1755,11 @@ failed:
#endif
xfree(buffer);
-#ifdef HAVE_DUP
if (read_stdin) {
/* Use stderr for stdin, makes shell commands work. */
close(0);
ignored = dup(2);
}
-#endif
if (tmpname != NULL) {
os_remove((char *)tmpname); // delete converted file