diff options
| author | Philipp Stephani | 2017-05-20 16:52:10 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-05-21 21:50:18 +0200 |
| commit | 2d8215ae6dde2c51763224a887b72e985fa9be39 (patch) | |
| tree | 38819df704d77eb0f852d778876bc865aa9f3b56 /src | |
| parent | 74d43044d3ad0f875034a1ee5510507ff59a70c8 (diff) | |
| download | emacs-2d8215ae6dde2c51763224a887b72e985fa9be39.tar.gz emacs-2d8215ae6dde2c51763224a887b72e985fa9be39.zip | |
Remove unused automatic variables
* nsterm.m (ns_read_socket):
* macfont.m (macfont_open): Remove unused automatic variables.
Diffstat (limited to 'src')
| -rw-r--r-- | src/macfont.m | 3 | ||||
| -rw-r--r-- | src/nsterm.m | 1 |
2 files changed, 1 insertions, 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) | |||
| 2536 | int size; | 2536 | int size; |
| 2537 | CTFontRef macfont; | 2537 | CTFontRef macfont; |
| 2538 | CTFontSymbolicTraits sym_traits; | 2538 | CTFontSymbolicTraits sym_traits; |
| 2539 | char name[256]; | 2539 | int i, total_width; |
| 2540 | int len, i, total_width; | ||
| 2541 | CGGlyph glyph; | 2540 | CGGlyph glyph; |
| 2542 | CGFloat ascent, descent, leading; | 2541 | CGFloat ascent, descent, leading; |
| 2543 | 2542 | ||
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) | |||
| 4247 | } | 4247 | } |
| 4248 | else | 4248 | else |
| 4249 | { | 4249 | { |
| 4250 | ptrdiff_t specpdl_count = SPECPDL_INDEX (); | ||
| 4251 | /* Run and wait for events. We must always send one NX_APPDEFINED event | 4250 | /* Run and wait for events. We must always send one NX_APPDEFINED event |
| 4252 | to ourself, otherwise [NXApp run] will never exit. */ | 4251 | to ourself, otherwise [NXApp run] will never exit. */ |
| 4253 | send_appdefined = YES; | 4252 | send_appdefined = YES; |