From 2d8215ae6dde2c51763224a887b72e985fa9be39 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sat, 20 May 2017 16:52:10 +0200 Subject: [PATCH] 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 be8153390d2..4d310e47aec 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 8b0c3cf249e..6e138b7eb6c 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; -- 2.39.2