Remove return in function returning void
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 9 Feb 2017 21:24:40 +0000 (16:24 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 9 Feb 2017 21:24:40 +0000 (16:24 -0500)
gdb/ChangeLog:

* interps.c (current_interp_set_logging): Remove "return".

gdb/ChangeLog
gdb/interps.c

index 318dbaf23d3aab6d47094555bd4125aca26c34b0..85bb98c8392ce2528111e16567c05c47c8584afb 100644 (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
index db0b31972ea3bcaee19171411edda6d041201e4f..af86390b3decab6bb95d7f5f1217f85fef4787ca 100644 (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.  */