[binutils-gdb] ui-out.c: Remove unused parameter to push_level
Simon Marchi
simark@sourceware.org
Sat Oct 8 23:59:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=49d06418ada11004ca1cdc0ec5847358e83fc67a
commit 49d06418ada11004ca1cdc0ec5847358e83fc67a
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date: Sat Oct 8 19:47:09 2016 -0400
ui-out.c: Remove unused parameter to push_level
The parameter "id" is unused.
gdb/ChangeLog:
* ui-out.c (push_level): Remove "id" parameter.
(ui_out_begin): Update call.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/ui-out.c | 5 ++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fc65fa5..b293515 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-08 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * ui-out.c (push_level): Remove "id" parameter.
+ (ui_out_begin): Update call.
+
2016-10-07 Joel Brobecker <brobecker@adacore.com>
GDB 7.12 released.
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index ec44ab6..f6d6050 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -117,8 +117,7 @@ current_level (struct ui_out *uiout)
/* Create a new level, of TYPE. Return the new level's index. */
static int
push_level (struct ui_out *uiout,
- enum ui_out_type type,
- const char *id)
+ enum ui_out_type type)
{
struct ui_out_level *current;
@@ -315,7 +314,7 @@ specified after table_body."));
verify_field (uiout, &fldno, &width, &align);
}
- new_level = push_level (uiout, type, id);
+ new_level = push_level (uiout, type);
/* If the push puts us at the same level as a table row entry, we've
got a new table row. Put the header pointer back to the start. */
More information about the Gdb-cvs
mailing list