aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-04 10:09:36 -0600
committerTom Tromey <tom@tromey.com>2019-07-17 12:19:26 -0600
commitd8f68fcb9378b5ab1c945fa676e11da15be56dd6 (patch)
treebd9e41b9e9ad866c58f123b2d14be2b7673e715c /gdb/ChangeLog
parentca5af91ed271a12200bb40ccfaaede4baef6f5fe (diff)
downloadgdb-d8f68fcb9378b5ab1c945fa676e11da15be56dd6.zip
gdb-d8f68fcb9378b5ab1c945fa676e11da15be56dd6.tar.gz
gdb-d8f68fcb9378b5ab1c945fa676e11da15be56dd6.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index aff8c75..175aa92 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,16 @@
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.
+
+2019-07-17 Tom Tromey <tom@tromey.com>
+
* tui/tui-win.c (parse_scrolling_args): Throw separate errors.
2019-07-17 Tom Tromey <tom@tromey.com>