aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 7689b750c5..732ea610ee 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -2563,9 +2563,9 @@ buf_write (
/*
* Get information about original file (if there is one).
*/
+ FileInfo file_info_old;
#if defined(UNIX)
perm = -1;
- FileInfo file_info_old;
if (!os_fileinfo((char *)fname, &file_info_old)) {
newfile = TRUE;
} else {