* [PATCH obv] ui-out.c: Remove unused enum
@ 2016-02-02 21:41 Simon Marchi
2016-02-02 23:58 ` Phil Muldoon
0 siblings, 1 reply; 2+ messages in thread
From: Simon Marchi @ 2016-02-02 21:41 UTC (permalink / raw)
To: gdb-patches; +Cc: Simon Marchi
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 <simon.marchi@ericsson.com>
+
+ * ui-out.c (MAX_UI_OUT_LEVELS): Remove.
+
2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com>
* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH obv] ui-out.c: Remove unused enum
2016-02-02 21:41 [PATCH obv] ui-out.c: Remove unused enum Simon Marchi
@ 2016-02-02 23:58 ` Phil Muldoon
0 siblings, 0 replies; 2+ messages in thread
From: Phil Muldoon @ 2016-02-02 23:58 UTC (permalink / raw)
To: Simon Marchi, gdb-patches
On 02/02/16 21:41, Simon Marchi wrote:
> 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:
>
Oops looks like I missed it in a refactor! Thanks for eliminating it!
Cheers
Phil
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-02 23:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-02 21:41 [PATCH obv] ui-out.c: Remove unused enum Simon Marchi
2016-02-02 23:58 ` Phil Muldoon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).