Remove unused automatic variables

* nsterm.m (ns_read_socket):
* macfont.m (macfont_open): Remove unused automatic variables.
This commit is contained in:
Philipp Stephani
2017-05-20 16:52:10 +02:00
parent 74d43044d3
commit 2d8215ae6d
2 changed files with 1 additions and 3 deletions

View File

@@ -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;

View File

@@ -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;