diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-15 16:06:27 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-16 09:15:04 -0600 |
commit | 730ead81dfffc181f79a4b79ba8abf6850e63596 (patch) | |
tree | bbae31b7c54d0506190cc92b02f0343512a87604 /gdb/msg.defs | |
parent | e79be6e5f33d52b2bbb6aafdc61659a4bbb55849 (diff) | |
download | gdb-730ead81dfffc181f79a4b79ba8abf6850e63596.zip gdb-730ead81dfffc181f79a4b79ba8abf6850e63596.tar.gz gdb-730ead81dfffc181f79a4b79ba8abf6850e63596.tar.bz2 |
Remove some NULL checks from the TUI
I found a few spots in the TUI that were NULL-checking the result of
XNEW. This cannot return NULL, so this patch removes the checks.
gdb/ChangeLog
2019-06-16 Tom Tromey <tom@tromey.com>
* tui/tui-data.c (tui_alloc_generic_win_info)
(tui_alloc_win_info, tui_add_content_elements): Remove NULL
checks.
Diffstat (limited to 'gdb/msg.defs')
0 files changed, 0 insertions, 0 deletions