diff libinterp/corefcn/load-path.cc @ 20820:eed8ec05f1c8

always return value from DEFUN functions * load-path.cc (Fpath): Always return something. * pager.cc (Fdiary): Likewise.
author John W. Eaton <jwe@octave.org>
date Mon, 07 Dec 2015 14:29:39 -0500
parents 3d551b2ae928
children 35241c4b696c
line wrap: on
line diff
--- a/libinterp/corefcn/load-path.cc	Mon Dec 07 13:54:01 2015 -0500
+++ b/libinterp/corefcn/load-path.cc	Mon Dec 07 14:29:39 2015 -0500
@@ -2386,6 +2386,8 @@
 
       octave_stdout << "\n";
     }
+
+  return octave_value ();
 }
 
 DEFUN (addpath, args, nargout,