aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index b19916d155..94eee0edf0 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -18176,8 +18176,6 @@ static void f_writefile(typval_T *argvars, typval_T *rettv, FunPtr fptr)
}
}
- // Always open the file in binary mode, library functions have a mind of
- // their own about CR-LF conversion.
const char *const fname = (const char *)get_tv_string(&argvars[1]);
FileDescriptor *fp;
int error;