Remove two unused members from mi_interp

These members of mi_interp aren't used and can be removed.
This commit is contained in:
Tom Tromey
2022-08-11 10:24:48 -06:00
parent 334c30c253
commit 5a09f12056
2 changed files with 2 additions and 7 deletions

View File

@ -1297,7 +1297,6 @@ mi_interp::set_logging (ui_file_up logfile, bool logging_redirect,
} }
mi->raw_stdout = logging_redirect ? logfile_p : tee; mi->raw_stdout = logging_redirect ? logfile_p : tee;
mi->raw_stdlog = debug_redirect ? logfile_p : tee;
} }
else else
{ {

View File

@ -52,14 +52,10 @@ public:
/* Raw console output. */ /* Raw console output. */
struct ui_file *raw_stdout; struct ui_file *raw_stdout;
/* Raw logfile output. */ /* Save the original value of raw_stdout here when logging, and the
struct ui_file *raw_stdlog; file which we need to delete, so we can restore correctly when
/* Save the original value of raw_stdout and raw_stdlog here when logging, and
the file which we need to delete, so we can restore correctly when
done. */ done. */
struct ui_file *saved_raw_stdout; struct ui_file *saved_raw_stdout;
struct ui_file *saved_raw_stdlog;
struct ui_file *saved_raw_file_to_delete; struct ui_file *saved_raw_file_to_delete;