emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115536: src/w32*.c: Silence compiler warnings.


From: Juanma Barranquero
Subject: [Emacs-diffs] trunk r115536: src/w32*.c: Silence compiler warnings.
Date: Sun, 15 Dec 2013 17:40:55 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115536
revision-id: address@hidden
parent: address@hidden
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Sun 2013-12-15 18:40:44 +0100
message:
  src/w32*.c: Silence compiler warnings.
  
  * w32fns.c (Fw32_shell_execute): Remove unused local variable.
  (Fx_file_dialog): Add parentheses around && to silence warning.
  
  * w32term.c (construct_drag_n_drop): Remove unused local variable.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/w32fns.c                   w32fns.c-20091113204419-o5vbwnq5f7feedwu-945
  src/w32term.c                  w32term.c-20091113204419-o5vbwnq5f7feedwu-950
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-12-15 16:51:59 +0000
+++ b/src/ChangeLog     2013-12-15 17:40:44 +0000
@@ -1,3 +1,10 @@
+2013-12-15  Juanma Barranquero  <address@hidden>
+
+       * w32fns.c (Fw32_shell_execute): Remove unused local variable.
+       (Fx_file_dialog): Add parentheses around && to silence warning.
+
+       * w32term.c (construct_drag_n_drop): Remove unused local variable.
+
 2013-12-15  Eli Zaretskii  <address@hidden>
 
        * xdisp.c (extend_face_to_end_of_line): Extend background of

=== modified file 'src/w32fns.c'
--- a/src/w32fns.c      2013-12-11 17:17:49 +0000
+++ b/src/w32fns.c      2013-12-15 17:40:44 +0000
@@ -6667,9 +6667,9 @@
 
         /* Strip the dummy filename off the end of the string if we
            added it to select a directory.  */
-        if (use_unicode && file_details_w->nFilterIndex == 2
+        if ((use_unicode && file_details_w->nFilterIndex == 2)
 #ifndef NTGUI_UNICODE
-           || !use_unicode && file_details_a->nFilterIndex == 2
+           || (!use_unicode && file_details_a->nFilterIndex == 2)
 #endif
            )
          filename = Ffile_name_directory (filename);
@@ -6965,8 +6965,6 @@
        }
       if (STRINGP (parameters))
        {
-         int len;
-
          parameters = ENCODE_SYSTEM (parameters);
          params_a = SSDATA (parameters);
        }

=== modified file 'src/w32term.c'
--- a/src/w32term.c     2013-12-14 11:06:00 +0000
+++ b/src/w32term.c     2013-12-15 17:40:44 +0000
@@ -3137,7 +3137,7 @@
   char name_a[MAX_PATH];
   char file[MAX_UTF8_PATH];
 #endif
-  int i, len;
+  int i;
 
   result->kind = DRAG_N_DROP_EVENT;
   result->code = 0;


reply via email to

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