From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: [PATCH 10/13] Remove unused automatic variables
Date: Sat, 20 May 2017 16:58:38 +0200
Message-ID: <20170520145841.94282-10-phst@google.com>
References: <20170520145841.94282-1-phst@google.com>
NNTP-Posting-Host: blaine.gmane.org
X-Trace: blaine.gmane.org 1495292790 3808 195.159.176.226 (20 May 2017 15:06:30 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 20 May 2017 15:06:30 +0000 (UTC)
Cc: Philipp Stephani
To: emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 20 17:06:23 2017
Return-path:
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
by blaine.gmane.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1dC5xU-0000l4-Tx
for ged-emacs-devel@m.gmane.org; Sat, 20 May 2017 17:06:21 +0200
Original-Received: from localhost ([::1]:34542 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1dC5xa-00047a-Ba
for ged-emacs-devel@m.gmane.org; Sat, 20 May 2017 11:06:26 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50001)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1dC5ql-0007uX-Fw
for emacs-devel@gnu.org; Sat, 20 May 2017 10:59:24 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1dC5qk-0003IW-RB
for emacs-devel@gnu.org; Sat, 20 May 2017 10:59:23 -0400
Original-Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:33286)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1dC5qk-0003IE-LL
for emacs-devel@gnu.org; Sat, 20 May 2017 10:59:22 -0400
Original-Received: by mail-wm0-x242.google.com with SMTP id b84so7459552wmh.0
for ; Sat, 20 May 2017 07:59:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:cc:subject:date:message-id:in-reply-to:references;
bh=cSmaGkq91CHf+XvxsWswhBf8oMPOAqG/b+vt3fTgc+A=;
b=bPqPT9ithHkKYgOqmbRmpGQLRqvs7Nm9Nr9cWG/qW7yOlLy8qWlLZFgxIBOwOT3TS+
7I7hPXYs37PBjh/ptub3Tb9Ht371Avlghi0WI65qUM+vobhzIkHeN8XvVBX2PTgO7M2g
CqliC3Lk0oWBp2Dug2I0RXT/5jVXfZsQZJB3UdUuSyyFsfC7NnwSG3JcHN69rMU8JzUi
mMITCaTgTNSRr6xMazH9ztWz21RlPp0TXtyx0brCTgkBKfASoro9reAR5MYz+NJpmGMJ
mhok2Cdj0f0D6oRS1pDOOgPKC/aQ7b6VQ1h62jCddL7J4WpcJrMhAkBKs2FX7gIFVEey
OASQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
:references;
bh=cSmaGkq91CHf+XvxsWswhBf8oMPOAqG/b+vt3fTgc+A=;
b=LusiPKabIoD0oxSXz7S3GQYtLUDG/15cWN1xxwDMYnCjIvmHP775V/fQteFrg5dhnd
4lvssubHk/aSGTOMplp6aB0tKdIOHhIYn1D/Xj9yDbNxDRWp0AxyErXcU6U2OmHST382
oErzTVJUF9HyQ3UhXYjgdyZ/pYpKB9O5a0IrEpK1hcvbZ3ZzQYdFE3VRqzRjBWPn5L2b
oaDqPXUdsdqZu3+g0mc4coGnk1u7KY66P5xHrTe1N052Qw3CPftfa9+uHHZ5WP0WAEVm
lYb2IxNgj/jMYTkzDMK+Kkc2YRGlBPVG21KtohEyoncBEMLFdx/clowsrTgxpywoydS0
AOuw==
X-Gm-Message-State: AODbwcChZh7u9Y8ugxx6bML/lzAcaPZ4VO/1TXU6s6wgh0fKWXpPTza+
Vc7XkK7+hM3xsHjvpfI=
X-Received: by 10.28.105.21 with SMTP id e21mr20568729wmc.4.1495292361388;
Sat, 20 May 2017 07:59:21 -0700 (PDT)
Original-Received: from p.cm.cablesurf.de (46.128.198.151.dynamic.cablesurf.de.
[46.128.198.151])
by smtp.gmail.com with ESMTPSA id 4sm7795937wrv.33.2017.05.20.07.59.20
(version=TLS1 cipher=AES128-SHA bits=128/128);
Sat, 20 May 2017 07:59:20 -0700 (PDT)
X-Google-Original-From: Philipp Stephani
X-Mailer: git-send-email 2.13.0
In-Reply-To: <20170520145841.94282-1-phst@google.com>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 2a00:1450:400c:c09::242
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions."
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel"
Xref: news.gmane.org gmane.emacs.devel:215024
Archived-At:
* 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