emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115308: src/w32term.c, window.c, xdisp.c: Remove un


From: Juanma Barranquero
Subject: [Emacs-diffs] trunk r115308: src/w32term.c, window.c, xdisp.c: Remove unused variables.
Date: Sat, 30 Nov 2013 15:51:33 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115308
revision-id: address@hidden
parent: address@hidden
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Sat 2013-11-30 16:51:16 +0100
message:
  src/w32term.c,window.c,xdisp.c: Remove unused variables.
  * w32term.c (w32_read_socket): Remove unused variable `buf'.
  
  * window.c (Fset_window_configuration): Comment out unused variables.
  
  * xdisp.c (Fwindow_text_pixel_size): Remove unused variables
  `value' and `endp'.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/w32term.c                  w32term.c-20091113204419-o5vbwnq5f7feedwu-950
  src/window.c                   window.c-20091113204419-o5vbwnq5f7feedwu-231
  src/xdisp.c                    xdisp.c-20091113204419-o5vbwnq5f7feedwu-240
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-11-30 14:03:53 +0000
+++ b/src/ChangeLog     2013-11-30 15:51:16 +0000
@@ -1,3 +1,12 @@
+2013-11-30  Juanma Barranquero  <address@hidden>
+
+       * xdisp.c (Fwindow_text_pixel_size): Remove unused variables
+       `value' and `endp'.
+
+       * window.c (Fset_window_configuration): Comment out unused variables.
+
+       * w32term.c (w32_read_socket): Remove unused variable `buf'.
+
 2013-11-30  Jan Djärv  <address@hidden>
 
        * xdisp.c (redisplay_internal): unrequest_sigio => request_sigio.

=== modified file 'src/w32term.c'
--- a/src/w32term.c     2013-11-30 09:25:31 +0000
+++ b/src/w32term.c     2013-11-30 15:51:16 +0000
@@ -4224,7 +4224,6 @@
   struct frame *f;
   struct w32_display_info *dpyinfo = &one_w32_display_info;
   Mouse_HLInfo *hlinfo = &dpyinfo->mouse_highlight;
-  static char buf[1];
 
   block_input ();
 

=== modified file 'src/window.c'
--- a/src/window.c      2013-11-30 09:25:31 +0000
+++ b/src/window.c      2013-11-30 15:51:16 +0000
@@ -4129,7 +4129,7 @@
                                   ? FRAME_COLUMN_WIDTH (f)
                                   : FRAME_LINE_HEIGHT (f));
     }
-  else    
+  else
     {
       new_size= (horflag
                 ? size
@@ -4657,7 +4657,7 @@
            }
          else
            {
-             line_height = -XINT (height); 
+             line_height = -XINT (height);
              pixel_height = line_height * FRAME_LINE_HEIGHT (f);
            }
 
@@ -4687,7 +4687,7 @@
 
   eassert (MINI_WINDOW_P (w));
 
-  height = pixelwise ? w->pixel_height : w->total_lines; 
+  height = pixelwise ? w->pixel_height : w->total_lines;
   unit = pixelwise ? FRAME_LINE_HEIGHT (f) : 1;
   if (height > unit)
     {
@@ -6078,10 +6078,10 @@
         back.  We keep track of the prevailing height in these variables.  */
       int previous_frame_text_height = FRAME_TEXT_HEIGHT (f);
       int previous_frame_text_width =  FRAME_TEXT_WIDTH  (f);
-      int previous_frame_menu_bar_height = FRAME_MENU_BAR_HEIGHT (f);
-      int previous_frame_tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f);
-      int previous_frame_lines = FRAME_LINES (f);
-      int previous_frame_cols =  FRAME_COLS  (f);
+      /* int previous_frame_menu_bar_height = FRAME_MENU_BAR_HEIGHT (f); */
+      /* int previous_frame_tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); */
+      /* int previous_frame_lines = FRAME_LINES (f); */
+      /* int previous_frame_cols =  FRAME_COLS  (f); */
       int previous_frame_menu_bar_lines = FRAME_MENU_BAR_LINES (f);
       int previous_frame_tool_bar_lines = FRAME_TOOL_BAR_LINES (f);
 
@@ -6353,7 +6353,7 @@
       /* This `select_window' calls record_buffer which calls Fdelq which
         invokes QUIT, so we do it here at the end rather than earlier,
         to minimize the risk of interrupting the Fset_window_configuration
-        in an inconsistent state (e.g. before frame-focus redirection is 
+        in an inconsistent state (e.g. before frame-focus redirection is
         canceled).  */
       select_window (data->current_window, Qnil, 1);
       BVAR (XBUFFER (XWINDOW (selected_window)->contents),

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2013-11-30 14:03:53 +0000
+++ b/src/xdisp.c       2013-11-30 15:51:16 +0000
@@ -9512,12 +9512,12 @@
    Lisp_Object mode_and_header_line)
 {
   struct window *w = decode_live_window (window);
-  Lisp_Object buf, value;
+  Lisp_Object buf;
   struct buffer *b;
   struct it it;
   struct buffer *old_buffer = NULL;
   ptrdiff_t start, end, pos;
-  struct text_pos startp, endp;
+  struct text_pos startp;
   void *itdata = NULL;
   int c, max_y = -1, x = 0, y = 0;
 


reply via email to

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