[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r115812: src/fileio.c: Silence compiler warnings.
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] trunk r115812: src/fileio.c: Silence compiler warnings. |
Date: |
Mon, 30 Dec 2013 22:36:53 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 115812
revision-id: address@hidden
parent: address@hidden
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Mon 2013-12-30 23:36:44 +0100
message:
src/fileio.c: Silence compiler warnings.
* fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows
variables not used there.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/fileio.c fileio.c-20091113204419-o5vbwnq5f7feedwu-210
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-12-30 17:51:28 +0000
+++ b/src/ChangeLog 2013-12-30 22:36:44 +0000
@@ -1,3 +1,8 @@
+2013-12-30 Juanma Barranquero <address@hidden>
+
+ * fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows
+ variables not used there.
+
2013-12-30 Eli Zaretskii <address@hidden>
* w32.c (sys_umask): New function. (Bug#16299)
=== modified file 'src/fileio.c'
--- a/src/fileio.c 2013-12-29 18:18:45 +0000
+++ b/src/fileio.c 2013-12-30 22:36:44 +0000
@@ -1943,15 +1943,15 @@
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
ptrdiff_t count = SPECPDL_INDEX ();
Lisp_Object encoded_file, encoded_newname;
+#if HAVE_LIBSELINUX
+ security_context_t con;
+ int conlength = 0;
+#endif
+#ifdef WINDOWSNT
+ int result;
+#else
bool already_exists = false;
mode_t new_mask;
-#if HAVE_LIBSELINUX
- security_context_t con;
- int conlength = 0;
-#endif
-#ifdef WINDOWSNT
- int result;
-#else
int ifd, ofd;
int n;
char buf[16 * 1024];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r115812: src/fileio.c: Silence compiler warnings.,
Juanma Barranquero <=