From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45482 invoked by alias); 2 Feb 2016 21:41:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 45471 invoked by uid 89); 2 Feb 2016 21:41:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Maintain, obv, Hx-languages-length:1189, D*ericsson.com X-HELO: usplmg20.ericsson.net Received: from usplmg20.ericsson.net (HELO usplmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 02 Feb 2016 21:41:29 +0000 Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id D8.4B.06940.86F11B65; Tue, 2 Feb 2016 22:28:08 +0100 (CET) Received: from elxcz23q12-y4.dyn.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 2 Feb 2016 16:41:25 -0500 From: Simon Marchi To: CC: Simon Marchi Subject: [PATCH obv] ui-out.c: Remove unused enum Date: Tue, 02 Feb 2016 21:41:00 -0000 Message-ID: <1454449278-13669-1-git-send-email-simon.marchi@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00063.txt.bz2 FYI, I just pushed this as obvious. This is unused since 54eb231c4bca046e8b8cd73461f695e02c5620d5, where static arrays of ui_out_levels were replaced with vectors. gdb/ChangeLog: * ui-out.c (MAX_UI_OUT_LEVELS): Remove. --- gdb/ChangeLog | 4 ++++ gdb/ui-out.c | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3c97ac2..829a48c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-02-02 Simon Marchi + + * ui-out.c (MAX_UI_OUT_LEVELS): Remove. + 2016-02-02 Walfred Tedeschi * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval): diff --git a/gdb/ui-out.c b/gdb/ui-out.c index aa6d6fe..e5a2bf1 100644 --- a/gdb/ui-out.c +++ b/gdb/ui-out.c @@ -37,12 +37,6 @@ struct ui_out_hdr struct ui_out_hdr *next; }; -/* Maintain a stack so that the info applicable to the inner most list - is always available. Stack/nested level 0 is reserved for the - top-level result. */ - -enum { MAX_UI_OUT_LEVELS = 8 }; - struct ui_out_level { /* Count each field; the first element is for non-list fields. */ -- 2.5.1