Remove body of tui_locator_window constructor

The tui_locator_window constructor initializes the first character of
two of its members.  However, this is actually an error, since these
were changed to be std::string.  This removes the erroneous code.

gdb/ChangeLog
2020-07-01  Tom Tromey  <tom@tromey.com>

	* tui/tui-stack.h (struct tui_locator_window): Remove body.
This commit is contained in:
Tom Tromey 2020-07-01 21:21:12 -06:00
parent 7134f2eb92
commit 1eb2161f83
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2020-07-01 Tom Tromey <tom@tromey.com>
* tui/tui-stack.h (struct tui_locator_window): Remove body.
2020-07-01 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_data_window::display_registers_from)

View File

@ -30,11 +30,7 @@ struct frame_info;
struct tui_locator_window : public tui_gen_win_info
{
tui_locator_window ()
{
full_name[0] = 0;
proc_name[0] = 0;
}
tui_locator_window () = default;
int max_height () const override
{