emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 2d8215a 10/13: Remove unused automatic variables


From: Philipp Stephani
Subject: [Emacs-diffs] master 2d8215a 10/13: Remove unused automatic variables
Date: Sun, 21 May 2017 15:51:48 -0400 (EDT)

branch: master
commit 2d8215ae6dde2c51763224a887b72e985fa9be39
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Remove unused automatic variables
    
    * nsterm.m (ns_read_socket):
    * macfont.m (macfont_open): Remove unused automatic variables.
---
 src/macfont.m | 3 +--
 src/nsterm.m  | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/macfont.m b/src/macfont.m
index be81533..4d310e4 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -2536,8 +2536,7 @@ macfont_open (struct frame * f, Lisp_Object entity, int 
pixel_size)
   int size;
   CTFontRef macfont;
   CTFontSymbolicTraits sym_traits;
-  char name[256];
-  int len, i, total_width;
+  int i, total_width;
   CGGlyph glyph;
   CGFloat ascent, descent, leading;
 
diff --git a/src/nsterm.m b/src/nsterm.m
index 8b0c3cf..6e138b7 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -4247,7 +4247,6 @@ ns_read_socket (struct terminal *terminal, struct 
input_event *hold_quit)
         }
       else
         {
-          ptrdiff_t specpdl_count = SPECPDL_INDEX ();
           /* Run and wait for events.  We must always send one NX_APPDEFINED 
event
              to ourself, otherwise [NXApp run] will never exit.  */
           send_appdefined = YES;



reply via email to

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