diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2016-10-08 19:47:09 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2016-10-08 19:51:44 -0400 |
commit | 49d06418ada11004ca1cdc0ec5847358e83fc67a (patch) | |
tree | 7b0aa06399baf9bbb3c2e4daad46650edd2cd664 /gdb/ui-out.c | |
parent | b6f80bb873981d21a00960ea372046b0424a553a (diff) | |
download | gdb-49d06418ada11004ca1cdc0ec5847358e83fc67a.zip gdb-49d06418ada11004ca1cdc0ec5847358e83fc67a.tar.gz gdb-49d06418ada11004ca1cdc0ec5847358e83fc67a.tar.bz2 |
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.
Diffstat (limited to 'gdb/ui-out.c')
-rw-r--r-- | gdb/ui-out.c | 5 |
1 files changed, 2 insertions, 3 deletions
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. */ |