From: Philipp Stephani Date: Sat, 20 May 2017 14:52:10 +0000 (+0200) Subject: Remove unused automatic variables X-Git-Tag: emacs-26.0.90~521^2~315 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d8215ae6dde2c51763224a887b72e985fa9be39;p=emacs.git Remove unused automatic variables * nsterm.m (ns_read_socket): * macfont.m (macfont_open): Remove unused automatic variables. --- 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;