Remove cli_ui_out::out_field_fmt
authorTom Tromey <tom@tromey.com>
Sun, 22 Apr 2018 23:54:20 +0000 (17:54 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 24 Apr 2018 13:34:03 +0000 (07:34 -0600)
commit05b1d8d6fcde4805d25c9121f5b051f59580887a
tree77652eb2c67a6ab77841ee06688c26d69aac39da
parent0f703942d7c4f373e2aea5000081dbdc9ef8e2b1
Remove cli_ui_out::out_field_fmt

I noticed that cli_ui_out::out_field_fmt is only used by a single
caller, and it can easily be replaced by fputs_filtered.  So, this
patch removes it.

ChangeLog
2018-04-24  Tom Tromey  <tom@tromey.com>

* cli-out.c (cli_ui_out::out_field_fmt): Remove.
(cli_ui_out::do_field_string): Use fputs_filtered.
* cli-out.h (class cli_ui_out) <out_field_fmt>: Remove.
gdb/ChangeLog
gdb/cli-out.c
gdb/cli-out.h