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.
This commit is contained in:
Simon Marchi 2016-10-08 19:47:09 -04:00
parent b6f80bb873
commit 49d06418ad
2 changed files with 7 additions and 3 deletions

View File

@ -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.

View File

@ -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. */