From patchwork Thu Sep 6 12:36:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 29220 Received: (qmail 26021 invoked by alias); 6 Sep 2018 12:37:05 -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 26005 invoked by uid 89); 6 Sep 2018 12:37:05 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: sessmg22.ericsson.net Received: from sessmg22.ericsson.net (HELO sessmg22.ericsson.net) (193.180.251.58) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Sep 2018 12:37:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1536237421; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6Pve2iA6LPWd3yeeVTy83oBsuhTOyPbKLJe9sIQIDp4=; b=Dy4lw9RXmRovZMCOu9MOkvkIYWQUcMA3LERG5lHNLA2BRn3td/NPv1bVgCTxpmgY xWMS/09LCGIduRHdLzbOZr19GJDUmEmAiAbE5Q4cSvfuZX8COGTn33G/f39FIBIt 5UCnPJT/hdDKkzTZW6f2VQ/IWSkOiraUQYh8ynH7wr0=; Received: from ESESSMB502.ericsson.se (Unknown_Domain [153.88.183.120]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id A8.5E.31332.D6F119B5; Thu, 6 Sep 2018 14:37:01 +0200 (CEST) Received: from ESESSMB501.ericsson.se (153.88.183.162) by ESESSMB502.ericsson.se (153.88.183.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 6 Sep 2018 14:37:00 +0200 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Thu, 6 Sep 2018 14:37:00 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kT708aw1p+eswen5BaI1iGdkqsBol9HYCVNAll0LlKA=; b=KCBHN7pMo5SCpked9FWNRzf7WKhMUGY+ZbGrcsZ1hcLkj7A7t5r3Wr0e5B/e33gfKPB8EX1Q0BITcRfA3N+ZyJKjw713NFrk0Zi7cowu/hmHWJ1kxdde/7yaVNZ3/SXmi46KJSocWOBvATKpNOKMgweqg06DGK7ObgIdh977IUo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=simon.marchi@ericsson.com; Received: from elxacz23q12.central.local (164.39.74.202) by BN7PR15MB2386.namprd15.prod.outlook.com (2603:10b6:406:8c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.13; Thu, 6 Sep 2018 12:36:58 +0000 From: Simon Marchi To: CC: Simon Marchi Subject: [pushed] Remove unused tui_win_element::highlight Date: Thu, 6 Sep 2018 13:36:47 +0100 Message-Id: <1536237407-27238-1-git-send-email-simon.marchi@ericsson.com> MIME-Version: 1.0 Return-Path: simon.marchi@ericsson.com Received-SPF: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) X-IsSubscribed: yes gdb/ChangeLog: * tui/tui-data.h (struct tui_win_element) : Remove. * tui/tui-data.c (init_content_element): Don't initialize it. --- gdb/ChangeLog | 5 +++++ gdb/tui/tui-data.c | 1 - gdb/tui/tui-data.h | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a486fa1..939490b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2018-09-06 Simon Marchi + * tui/tui-data.h (struct tui_win_element) : Remove. + * tui/tui-data.c (init_content_element): Don't initialize it. + +2018-09-06 Simon Marchi + * tui/tui-data.h (struct tui_win_info) : Remove. * tui/tui-data.c (init_win_info): Remove assignment. diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index c73b28f..7dbd147 100644 --- a/gdb/tui/tui-data.c +++ b/gdb/tui/tui-data.c @@ -472,7 +472,6 @@ static void init_content_element (struct tui_win_element *element, enum tui_win_type type) { - element->highlight = FALSE; switch (type) { case SRC_WIN: diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 46e9997..79a438d 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -229,7 +229,6 @@ union tui_which_element struct tui_win_element { - int highlight; union tui_which_element which_element; };