Remove NULL check from tui_reg_command
authorTom Tromey <tom@tromey.com>
Sat, 13 Jul 2019 21:53:44 +0000 (15:53 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 20 Aug 2019 22:22:04 +0000 (16:22 -0600)
commit0f8d8876d98305671a19b5bf88f125d4d02c7e0f
treed4573172a5b7577a54c463bcced42afa74cb7dd0
parent605dc2c21d145b9eeaa2456dd43512ef28e02dbd
Remove NULL check from tui_reg_command

tui_reg_command has an unnecessary NULL check.  The preceding call to
tui_reg_layout will ensure the window exists.  This patch removes the
check.

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

* tui/tui-regs.c (tui_reg_command): Remove NULL check.
gdb/ChangeLog
gdb/tui/tui-regs.c