Remove more unnecessary casts of NULL
authorTom Tromey <tom@tromey.com>
Sun, 16 Jun 2019 19:48:21 +0000 (13:48 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 16 Jun 2019 19:51:04 +0000 (13:51 -0600)
commitd04b44a16cdfde95de487bcedd541c6e71d82676
tree7607ed117669ca0b7a51082feb4ee203e3068371
parentbf5142e7fef4e2eca5d98cf805dbadc737118c1e
Remove more unnecessary casts of NULL

I found a few more spots that unnecessarily cast NULL to a pointer
type.  My earlier search included a "*" in the cast, but these use a
typedef to a pointer type instead.  This patch removes these casts.

gdb/ChangeLog
2019-06-16  Tom Tromey  <tom@tromey.com>

* tui/tui-data.c (tui_clear_win_detail, init_win_info)
(tui_free_window, free_content, free_content_elements): Remove
unnecessary cast.
* tui/tui-windata.c (tui_display_all_data): Remove unnecessary
cast.
* tui/tui-regs.c (tui_show_register_group)
(tui_display_registers_from, tui_display_reg_element_at_line):
Remove unnecessary cast.
gdb/ChangeLog
gdb/tui/tui-data.c
gdb/tui/tui-regs.c
gdb/tui/tui-windata.c