Tidy tui_delete_win
authorTom Tromey <tom@tromey.com>
Sun, 23 Jun 2019 22:38:06 +0000 (16:38 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:52 +0000 (07:48 -0600)
commitc2fc64f54ef82ccd2fedc9078c539ad273e83a0b
treee4c78d8a252a955eb7ee3bd6dfcc0aeebdb6e4ae
parentfb54fa768d148ccd07f2b27ae26e87d95605986c
Tidy tui_delete_win

tui_delete_win does its own NULL check, so ~tui_gen_win_info does not
need to do it.  Also, tui_delete_win has an extraneous "return".

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

* tui/tui-wingeneral.c (tui_delete_win): Remove "return".
* tui/tui-data.c (~tui_gen_win_info): Remove "if".
gdb/ChangeLog
gdb/tui/tui-data.c
gdb/tui/tui-wingeneral.c
This page took 0.026825 seconds and 4 git commands to generate.