Commit 2db9da01 authored by Juanma Barranquero's avatar Juanma Barranquero

src/fileio.c: Silence compiler warnings.

* fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows
variables not used there.
parent 9d1804dc
2013-12-30 Juanma Barranquero <lekktu@gmail.com>
* fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows
variables not used there.
2013-12-30 Eli Zaretskii <eliz@gnu.org>
* w32.c (sys_umask): New function. (Bug#16299)
......
......@@ -1943,8 +1943,6 @@ permissions. */)
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
ptrdiff_t count = SPECPDL_INDEX ();
Lisp_Object encoded_file, encoded_newname;
bool already_exists = false;
mode_t new_mask;
#if HAVE_LIBSELINUX
security_context_t con;
int conlength = 0;
......@@ -1952,6 +1950,8 @@ permissions. */)
#ifdef WINDOWSNT
int result;
#else
bool already_exists = false;
mode_t new_mask;
int ifd, ofd;
int n;
char buf[16 * 1024];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment