aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-02-09 16:24:40 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2017-02-09 16:24:40 -0500
commit62c14536e4df4c84d3ab72e5516c0189c32eb62f (patch)
tree149ddb49b18e78f76e5a2041f75fff944a4881e6 /gdb/interps.c
parentff6fa24786eb2c03c1af95e2559fa3fd0b2f3893 (diff)
downloadgdb-62c14536e4df4c84d3ab72e5516c0189c32eb62f.zip
gdb-62c14536e4df4c84d3ab72e5516c0189c32eb62f.tar.gz
gdb-62c14536e4df4c84d3ab72e5516c0189c32eb62f.tar.bz2
Remove return in function returning void
gdb/ChangeLog: * interps.c (current_interp_set_logging): Remove "return".
Diffstat (limited to 'gdb/interps.c')
-rw-r--r--gdb/interps.c2
1 files changed, 1 insertions, 1 deletions
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. */