# HG changeset patch # User John W. Eaton # Date 1449516579 18000 # Node ID eed8ec05f1c84231ceafe6d11b3fcdf3a72434ed # Parent f428cbe7576f916b0f6310d160d593df292d71fa always return value from DEFUN functions * load-path.cc (Fpath): Always return something. * pager.cc (Fdiary): Likewise. diff -r f428cbe7576f -r eed8ec05f1c8 libinterp/corefcn/load-path.cc --- 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, diff -r f428cbe7576f -r eed8ec05f1c8 libinterp/corefcn/pager.cc --- a/libinterp/corefcn/pager.cc Mon Dec 07 13:54:01 2015 -0500 +++ b/libinterp/corefcn/pager.cc Mon Dec 07 14:29:39 2015 -0500 @@ -573,6 +573,8 @@ open_diary_file (); } } + + return octave_value (); } DEFUN (__diaryfile__, , ,