Remove unnecessary "return"s
authorTom Tromey <tom@tromey.com>
Thu, 4 Jul 2019 16:09:36 +0000 (10:09 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:26 +0000 (12:19 -0600)
commitd8f68fcb9378b5ab1c945fa676e11da15be56dd6
treebd9e41b9e9ad866c58f123b2d14be2b7673e715c
parentca5af91ed271a12200bb40ccfaaede4baef6f5fe
Remove unnecessary "return"s

The TUI has some "return;" statements at the end of void-returning
functions.  There's no need for these, so this patch removes them.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.c (tui_update_source_window)
(tui_update_source_window_as_is)
(tui_update_source_windows_with_line): Remove return.
* tui/tui-disasm.c (tui_show_disassem)
(tui_show_disassem_and_update_source): Remove return.
* tui/tui.c (tui_reset): Remove return.
* tui/tui-wingeneral.c
(tui_check_and_display_highlight_if_needed): Remove return.
gdb/ChangeLog
gdb/tui/tui-disasm.c
gdb/tui/tui-wingeneral.c
gdb/tui/tui-winsource.c
gdb/tui/tui.c