comparison 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
comparison
equal deleted inserted replaced
21077:40f931a63a91 21078:49852ff04747
107 "-*- texinfo -*-\n\ 107 "-*- texinfo -*-\n\
108 @deftypefn {} {} __octave_link_enabled__ ()\n\ 108 @deftypefn {} {} __octave_link_enabled__ ()\n\
109 Undocumented internal function.\n\ 109 Undocumented internal function.\n\
110 @end deftypefn") 110 @end deftypefn")
111 { 111 {
112 return octave_value (octave_link::enabled ()); 112 return ovl (octave_link::enabled ());
113 } 113 }
114 114
115 DEFUN (__octave_link_edit_file__, args, , 115 DEFUN (__octave_link_edit_file__, args, ,
116 "-*- texinfo -*-\n\ 116 "-*- texinfo -*-\n\
117 @deftypefn {} {} __octave_link_edit_file__ (@var{file})\n\ 117 @deftypefn {} {} __octave_link_edit_file__ (@var{file})\n\
373 "-*- texinfo -*-\n\ 373 "-*- texinfo -*-\n\
374 @deftypefn {} {} __octave_link_show_preferences__ ()\n\ 374 @deftypefn {} {} __octave_link_show_preferences__ ()\n\
375 Undocumented internal function.\n\ 375 Undocumented internal function.\n\
376 @end deftypefn") 376 @end deftypefn")
377 { 377 {
378 return octave_value (octave_link::show_preferences ()); 378 return ovl (octave_link::show_preferences ());
379 } 379 }
380 380
381 DEFUN (__octave_link_show_doc__, args, , 381 DEFUN (__octave_link_show_doc__, args, ,
382 "-*- texinfo -*-\n\ 382 "-*- texinfo -*-\n\
383 @deftypefn {} {} __octave_link_show_doc__ (@var{filename})\n\ 383 @deftypefn {} {} __octave_link_show_doc__ (@var{filename})\n\
387 std::string file; 387 std::string file;
388 388
389 if (args.length () >= 1) 389 if (args.length () >= 1)
390 file = args(0).string_value(); 390 file = args(0).string_value();
391 391
392 return octave_value (octave_link::show_doc (file)); 392 return ovl (octave_link::show_doc (file));
393 } 393 }
394 394