emacs-devel
[Top][All Lists]
Advanced

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

[PATCH 10/13] Remove unused automatic variables


From: Philipp Stephani
Subject: [PATCH 10/13] Remove unused automatic variables
Date: Sat, 20 May 2017 16:58:38 +0200

* 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 be8153390d..4d310e47ae 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -2536,8 +2536,7 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
   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 a734d0f86e..0667ebb45b 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -4247,7 +4247,6 @@ in certain situations (rapid incoming events).
         }
       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;
-- 
2.13.0




reply via email to

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