diff libinterp/corefcn/error.cc @ 20941:a4f5da7c5463

maint: Replace "octave_value_list ()" with "ovl ()". * debug.cc, det.cc, ellipj.cc, error.cc, file-io.cc, graphics.cc, hess.cc, input.cc, inv.cc, load-path.cc, lu.cc, octave-link.cc, pager.cc, pinv.cc, pr-output.cc, profiler.cc, schur.cc, symtab.cc, sysdep.cc, urlwrite.cc, variables.cc, __magick_read__.cc, audioread.cc, chol.cc, ov-classdef.h, ov-cs-list.cc, ov-flt-re-mat.cc, ov-re-mat.cc, ov-usr-fcn.cc: maint: Replace "octave_value_list ()" with "ovl ()".
author Rik <rik@octave.org>
date Fri, 18 Dec 2015 16:18:41 -0800
parents 48b2ad5ee801
children 6eff66fb8a02
line wrap: on
line diff
--- a/libinterp/corefcn/error.cc	Fri Dec 18 16:04:56 2015 -0800
+++ b/libinterp/corefcn/error.cc	Fri Dec 18 16:18:41 2015 -0800
@@ -1988,7 +1988,7 @@
   if (nargin == 0 || nargout > 0)
     return ovl (prev_error_message, prev_error_id);
   else
-    return octave_value_list ();
+    return ovl ();
 }
 
 DEFUN (lastwarn, args, nargout,
@@ -2031,7 +2031,7 @@
   if (nargin == 0 || nargout > 0)
     return ovl (prev_warning_message, prev_warning_id);
   else
-    return octave_value_list ();
+    return ovl ();
 }
 
 /* FIXME: Deprecated in 4.0 and scheduled for removal in 4.4 */