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.
This commit is contained in:
Tom Tromey
2018-04-22 17:54:20 -06:00
parent 0f703942d7
commit 05b1d8d6fc
3 changed files with 7 additions and 19 deletions

View File

@@ -68,8 +68,6 @@ protected:
private:
void field_separator ();
void out_field_fmt (int fldno, const char *fldname, const char *format, ...)
ATTRIBUTE_PRINTF (4, 5);
std::vector<ui_file *> m_streams;
bool m_suppress_output;