[binutils-gdb] Remove return in function returning void
Simon Marchi
simark@sourceware.org
Thu Feb 9 21:25:00 GMT 2017
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=62c14536e4df4c84d3ab72e5516c0189c32eb62f
commit 62c14536e4df4c84d3ab72e5516c0189c32eb62f
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Thu Feb 9 16:24:40 2017 -0500
Remove return in function returning void
gdb/ChangeLog:
* interps.c (current_interp_set_logging): Remove "return".
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/interps.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 318dbaf..85bb98c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2017-02-09 Simon Marchi <simon.marchi@ericsson.com>
+
+ * interps.c (current_interp_set_logging): Remove "return".
+
2017-02-09 Gary Benson <gbenson@redhat.com>
* symtab.c (add_symtab_completions): Prevent NULL pointer
diff --git a/gdb/interps.c b/gdb/interps.c
index db0b319..af86390 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -285,7 +285,7 @@ current_interp_set_logging (ui_file_up logfile,
struct ui_interp_info *ui_interp = get_current_interp_info ();
struct interp *interp = ui_interp->current_interpreter;
- return interp->set_logging (std::move (logfile), logging_redirect);
+ interp->set_logging (std::move (logfile), logging_redirect);
}
/* Temporarily overrides the current interpreter. */
More information about the Gdb-cvs
mailing list