Remove return in function returning void

gdb/ChangeLog:

	* interps.c (current_interp_set_logging): Remove "return".
This commit is contained in:
Simon Marchi 2017-02-09 16:24:40 -05:00
parent ff6fa24786
commit 62c14536e4
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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. */