From patchwork Wed Sep 12 23:23:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Baldwin X-Patchwork-Id: 29345 Received: (qmail 32055 invoked by alias); 12 Sep 2018 23:24:54 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 31957 invoked by uid 89); 12 Sep 2018 23:24:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=Hx-languages-length:922 X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 12 Sep 2018 23:24:36 +0000 Received: from ralph.com (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 97C7110B681 for ; Wed, 12 Sep 2018 19:24:28 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org Subject: [PUSHED OBV] Remove unused "tmp" variable. Date: Wed, 12 Sep 2018 16:23:40 -0700 Message-Id: <20180912232340.42824-2-jhb@FreeBSD.org> In-Reply-To: <20180912232340.42824-1-jhb@FreeBSD.org> References: <20180912232340.42824-1-jhb@FreeBSD.org> X-IsSubscribed: yes gdb/ChangeLog: * fbsd-nat.c (fbsd_nat_target::info_proc): Remove unused variable. --- gdb/ChangeLog | 4 ++++ gdb/fbsd-nat.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3106a6f33b..454c45f9ad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-09-12 John Baldwin + + * fbsd-nat.c (fbsd_nat_target::info_proc): Remove unused variable. + 2018-09-12 John Baldwin * aarch64-fbsd-tdep.h (AARCH64_FBSD_SIZEOF_GREGSET): Fix comment diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c index a255318d14..2b829bfc3b 100644 --- a/gdb/fbsd-nat.c +++ b/gdb/fbsd-nat.c @@ -261,7 +261,6 @@ fbsd_nat_target::info_proc (const char *args, enum info_proc_what what) int nfd = 0; #endif struct kinfo_proc kp; - char *tmp; pid_t pid; bool do_cmdline = false; bool do_cwd = false;