mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-10 21:50:37 -08:00
src/fileio.c: Silence compiler warnings.
* fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows variables not used there.
This commit is contained in:
parent
9d1804dcb8
commit
2db9da01bd
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue