Remove an unnecessary NULL check from the TUI
authorTom Tromey <tom@tromey.com>
Sun, 16 Jun 2019 16:23:10 +0000 (10:23 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:25 +0000 (07:48 -0600)
commitec328aa512ee09ab326d59b417836bb950083230
tree255739a574e27d621a9d0a24375208833a05afb5
parent33b906abfa7721128791883875d90394f8e2e7c2
Remove an unnecessary NULL check from the TUI

In init_and_make_win, opaque_win_info can't be NULL after a new window
is allocated.  This patch removes an unnecessary NULL check.

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

* tui/tui-layout.c (init_and_make_win): Remove NULL check.
gdb/ChangeLog
gdb/tui/tui-layout.c