diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-16 13:48:21 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-16 13:51:04 -0600 |
commit | d04b44a16cdfde95de487bcedd541c6e71d82676 (patch) | |
tree | 7607ed117669ca0b7a51082feb4ee203e3068371 /gdb/source-cache.c | |
parent | bf5142e7fef4e2eca5d98cf805dbadc737118c1e (diff) | |
download | gdb-d04b44a16cdfde95de487bcedd541c6e71d82676.zip gdb-d04b44a16cdfde95de487bcedd541c6e71d82676.tar.gz gdb-d04b44a16cdfde95de487bcedd541c6e71d82676.tar.bz2 |
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.
Diffstat (limited to 'gdb/source-cache.c')
0 files changed, 0 insertions, 0 deletions