Remove some NULL checks from the TUI
authorTom Tromey <tom@tromey.com>
Sat, 15 Jun 2019 22:06:27 +0000 (16:06 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 16 Jun 2019 15:15:04 +0000 (09:15 -0600)
commit730ead81dfffc181f79a4b79ba8abf6850e63596
treebbae31b7c54d0506190cc92b02f0343512a87604
parente79be6e5f33d52b2bbb6aafdc61659a4bbb55849
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.
gdb/ChangeLog
gdb/tui/tui-data.c