emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r109479: src/w32.c: Silence compiler


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109479: src/w32.c: Silence compiler warnings.
Date: Tue, 07 Aug 2012 00:07:01 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109479
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Tue 2012-08-07 00:07:01 +0200
message:
  src/w32.c: Silence compiler warnings.
  (map_w32_filename): Remove unused variable `is_fat'.
  (chase_symlinks): Add parentheses around expression.
modified:
  src/ChangeLog
  src/w32.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-08-06 20:29:45 +0000
+++ b/src/ChangeLog     2012-08-06 22:07:01 +0000
@@ -1,3 +1,9 @@
+2012-08-06  Juanma Barranquero  <address@hidden>
+
+       * w32.c: Silence compiler warnings.
+       (map_w32_filename): Remove unused variable `is_fat'.
+       (chase_symlinks): Add parentheses around expression.
+
 2012-08-06  Glenn Morris  <address@hidden>
 
        * sysdep.c: Respect BROKEN_GETWD.

=== modified file 'src/w32.c'
--- a/src/w32.c 2012-08-06 11:16:07 +0000
+++ b/src/w32.c 2012-08-06 22:07:01 +0000
@@ -2395,7 +2395,6 @@
   char c;
   char * path;
   const char * save_name = name;
-  int is_fat = 0;
 
   if (strlen (name) >= MAX_PATH)
     {
@@ -4433,7 +4432,7 @@
       {
        target[res] = '\0';
        if (!(IS_DEVICE_SEP (target[1])
-             || IS_DIRECTORY_SEP (target[0]) && IS_DIRECTORY_SEP (target[1])))
+             || (IS_DIRECTORY_SEP (target[0]) && IS_DIRECTORY_SEP 
(target[1]))))
          {
            /* Target is relative.  Append it to the directory part of
               the symlink, then copy the result back to target.  */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]