diff libinterp/corefcn/octave-link.cc @ 21078:49852ff04747

maint: Remove unnecessary declarations of retval. * __pchip_deriv__.cc, data.cc, dirfns.cc, error.cc, file-io.cc, input.cc, load-path.cc, octave-link.cc, strfns.cc, sysdep.cc, time.cc, toplev.cc, urlwrite.cc, ov-cell.cc, ov.cc: Remove unnecessary declarations of retval.
author Rik <rik@octave.org>
date Fri, 15 Jan 2016 13:40:34 -0800
parents 5e00ed38a58b
children fcac5dbbf9ed
line wrap: on
line diff
--- a/libinterp/corefcn/octave-link.cc	Fri Jan 15 10:52:48 2016 -0800
+++ b/libinterp/corefcn/octave-link.cc	Fri Jan 15 13:40:34 2016 -0800
@@ -109,7 +109,7 @@
 Undocumented internal function.\n\
 @end deftypefn")
 {
-  return octave_value (octave_link::enabled ());
+  return ovl (octave_link::enabled ());
 }
 
 DEFUN (__octave_link_edit_file__, args, ,
@@ -375,7 +375,7 @@
 Undocumented internal function.\n\
 @end deftypefn")
 {
-  return octave_value (octave_link::show_preferences ());
+  return ovl (octave_link::show_preferences ());
 }
 
 DEFUN (__octave_link_show_doc__, args, ,
@@ -389,6 +389,6 @@
   if (args.length () >= 1)
     file = args(0).string_value();
 
-  return octave_value (octave_link::show_doc (file));
+  return ovl (octave_link::show_doc (file));
 }