mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
Remove obsolete comments from field_fmt
This removes some comments that I believe were made obsolete by the recent change to cli_ui_out::do_field_fmt. The comment in mi_ui_out probably was just copy/paste, because I think aligning never made sense in an MI context. gdb/ChangeLog 2018-11-25 Tom Tromey <tom@tromey.com> * ui-out.c (ui_out::field_fmt): Remove comment. * tui/tui-out.c (tui_ui_out::do_field_fmt): Remove comment. * mi/mi-out.c (mi_ui_out::do_field_fmt): Remove comment.
This commit is contained in:
parent
bb31d44bb1
commit
b5b12e1dbe
@ -1,3 +1,9 @@
|
||||
2018-11-25 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* ui-out.c (ui_out::field_fmt): Remove comment.
|
||||
* tui/tui-out.c (tui_ui_out::do_field_fmt): Remove comment.
|
||||
* mi/mi-out.c (mi_ui_out::do_field_fmt): Remove comment.
|
||||
|
||||
2018-11-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
|
||||
|
||||
* source.c (open_source_file): Leak fixed in '8e6a5953e1d Fix 4K
|
||||
|
@ -124,8 +124,6 @@ mi_ui_out::do_field_string (int fldno, int width, ui_align align,
|
||||
fprintf_unfiltered (stream, "\"");
|
||||
}
|
||||
|
||||
/* This is the only field function that does not align. */
|
||||
|
||||
void
|
||||
mi_ui_out::do_field_fmt (int fldno, int width, ui_align align,
|
||||
const char *fldname, const char *format,
|
||||
|
@ -71,8 +71,6 @@ tui_ui_out::do_field_string (int fldno, int width, ui_align align,
|
||||
cli_ui_out::do_field_string (fldno, width, align, fldname, string);
|
||||
}
|
||||
|
||||
/* This is the only field function that does not align. */
|
||||
|
||||
void
|
||||
tui_ui_out::do_field_fmt (int fldno, int width, ui_align align,
|
||||
const char *fldname, const char *format,
|
||||
|
@ -523,7 +523,6 @@ ui_out::field_fmt (const char *fldname, const char *format, ...)
|
||||
int width;
|
||||
ui_align align;
|
||||
|
||||
/* Will not align, but has to call anyway. */
|
||||
verify_field (&fldno, &width, &align);
|
||||
|
||||
va_start (args, format);
|
||||
|
Loading…
Reference in New Issue
Block a user