diff options
author | Tom Tromey <tom@tromey.com> | 2018-04-22 17:54:20 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-04-24 07:34:03 -0600 |
commit | 05b1d8d6fcde4805d25c9121f5b051f59580887a (patch) | |
tree | 77652eb2c67a6ab77841ee06688c26d69aac39da /gdb/cli-out.h | |
parent | 0f703942d7c4f373e2aea5000081dbdc9ef8e2b1 (diff) | |
download | gdb-05b1d8d6fcde4805d25c9121f5b051f59580887a.zip gdb-05b1d8d6fcde4805d25c9121f5b051f59580887a.tar.gz gdb-05b1d8d6fcde4805d25c9121f5b051f59580887a.tar.bz2 |
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.
Diffstat (limited to 'gdb/cli-out.h')
-rw-r--r-- | gdb/cli-out.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/cli-out.h b/gdb/cli-out.h index b95c998..adbd244 100644 --- a/gdb/cli-out.h +++ b/gdb/cli-out.h @@ -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; |