* mi-out.c (mi_out_new): Initialize suppress_ouput field of newly

created `struct ui_out_data'.
This commit is contained in:
Mark Kettenis 2001-07-09 22:19:50 +00:00
parent 112f9ab535
commit bf702e7ee8
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-07-10 Mark Kettenis <kettenis@gnu.org>
* mi-out.c (mi_out_new): Initialize suppress_ouput field of newly
created `struct ui_out_data'.
2001-07-09 Kevin Buettner <kevinb@redhat.com>
* mi-main.c (register_changed_p, get_register): Use alloca()

View File

@ -440,6 +440,7 @@ mi_out_new (int mi_version)
int flags = 0;
struct ui_out_data *data = XMALLOC (struct ui_out_data);
data->suppress_field_separator = 0;
data->suppress_output = 0;
data->mi_version = mi_version;
/* FIXME: This code should be using a ``string_file'' and not the
TUI buffer hack. */