Mercurial > octave-nkf
diff libinterp/corefcn/dirfns.cc @ 20590:1a0a433c8263
eliminate more simple uses of error_state
* dirfns.cc, oct-map.cc, oct-stream.cc, regexp.cc, ov-base-mat.cc,
ov-cell.cc, pt-idx.cc, pt-mat.cc:
Eliminate simple uses of error_state.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 05 Oct 2015 21:13:12 -0400 |
parents | b597bd161a5f |
children | fd0efcdb3718 |
line wrap: on
line diff
--- a/libinterp/corefcn/dirfns.cc Mon Oct 05 20:37:19 2015 -0400 +++ b/libinterp/corefcn/dirfns.cc Mon Oct 05 21:13:12 2015 -0400 @@ -128,9 +128,6 @@ string_vector argv = args.make_argv ("cd"); - if (error_state) - return retval; - if (nargout > 0) retval = octave_value (octave_env::get_current_directory ());