[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
- [PATCH 01/13] Nextstep: Use instancetype explicit return type, Philipp Stephani, 2017/05/20
- [PATCH 02/13] Declare Nextstep unexec functions in lisp.h, Philipp Stephani, 2017/05/20
- [PATCH 05/13] Make a function static that isn't used outside this file, Philipp Stephani, 2017/05/20
- [PATCH 04/13] Use NSCharacterCollection instead of CTCharacterCollection, Philipp Stephani, 2017/05/20
- [PATCH 03/13] Remove unused function print_regions, Philipp Stephani, 2017/05/20
- [PATCH 07/13] Remove trailing semicolons in method definitions, Philipp Stephani, 2017/05/20
- [PATCH 09/13] Nextstep: Replace deprecated enumerators, Philipp Stephani, 2017/05/20
- [PATCH 08/13] Nextstep: remove some deprecated method calls, Philipp Stephani, 2017/05/20
- [PATCH 06/13] Remove calls to deprecated setUsesScreenFonts, Philipp Stephani, 2017/05/20
- [PATCH 10/13] Remove unused automatic variables,
Philipp Stephani <=
- [PATCH 11/13] Clean up code around 'ns-list-services', Philipp Stephani, 2017/05/20
- [PATCH 12/13] Fix call of registerServicesMenuSendTypes, Philipp Stephani, 2017/05/20
- [PATCH 13/13] Avoid uninitialized read, Philipp Stephani, 2017/05/20
- Re: [PATCH 01/13] Nextstep: Use instancetype explicit return type, Paul Eggert, 2017/05/20
- Re: [PATCH 01/13] Nextstep: Use instancetype explicit return type, Paul Eggert, 2017/05/21