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:
parent
7134f2eb92
commit
1eb2161f83
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue