Remove an unneeded NULL check
authorTom Tromey <tom@tromey.com>
Sun, 16 Jun 2019 20:14:10 +0000 (14:14 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:32 +0000 (07:48 -0600)
commit6a0ee02c22b78b6d49fda99b6f2f9154d0cb0a47
treed8274a31daa2b0395ac13a5337eea4e57a7cfe6e
parent63901aeccf923abaca02c8a58b1141d3859d7247
Remove an unneeded NULL check

show_source_or_disasm_and_command will either create or reset the
source window, so the final NULL check is not necessary.  This patch
removes it.

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

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