Remove NULL checks from box_win
authorTom Tromey <tom@tromey.com>
Mon, 15 Jul 2019 21:59:53 +0000 (15:59 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 30 Aug 2019 18:57:05 +0000 (12:57 -0600)
commit108e13abdf90acc44b1aba4a0f3ee1d49a0f7934
tree08afe52350c84a73e7208a9d19ba3750b399f99a
parentcdaa6eb4394c42b49b090181dbfaae4e327090de
Remove NULL checks from box_win

box_win can't be called with a NULL window, or with an invisible
window.  So, the NULL checks in that function can be removed.

gdb/ChangeLog
2019-08-30  Tom Tromey  <tom@tromey.com>

* tui/tui-wingeneral.c (box_win): Assume win_info and
win_info->handle cannot be NULL.
gdb/ChangeLog
gdb/tui/tui-wingeneral.c