aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorJuanma Barranquero2013-12-30 23:36:44 +0100
committerJuanma Barranquero2013-12-30 23:36:44 +0100
commit2db9da01bd31b9840ff859486bb4820dc7a837aa (patch)
treebe4b83294d3795dfe3fa796eae935b11b1631b1b /src/fileio.c
parent9d1804dcb8b711a6d7eee16f0f54f3d418e2cb53 (diff)
downloademacs-2db9da01bd31b9840ff859486bb4820dc7a837aa.tar.gz
emacs-2db9da01bd31b9840ff859486bb4820dc7a837aa.zip
src/fileio.c: Silence compiler warnings.
* fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows variables not used there.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index adf69c6f234..6b40cad3fbb 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1943,8 +1943,6 @@ permissions. */)
1943 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; 1943 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
1944 ptrdiff_t count = SPECPDL_INDEX (); 1944 ptrdiff_t count = SPECPDL_INDEX ();
1945 Lisp_Object encoded_file, encoded_newname; 1945 Lisp_Object encoded_file, encoded_newname;
1946 bool already_exists = false;
1947 mode_t new_mask;
1948#if HAVE_LIBSELINUX 1946#if HAVE_LIBSELINUX
1949 security_context_t con; 1947 security_context_t con;
1950 int conlength = 0; 1948 int conlength = 0;
@@ -1952,6 +1950,8 @@ permissions. */)
1952#ifdef WINDOWSNT 1950#ifdef WINDOWSNT
1953 int result; 1951 int result;
1954#else 1952#else
1953 bool already_exists = false;
1954 mode_t new_mask;
1955 int ifd, ofd; 1955 int ifd, ofd;
1956 int n; 1956 int n;
1957 char buf[16 * 1024]; 1957 char buf[16 * 1024];