Mercurial > octave
diff libinterp/corefcn/spparms.cc @ 25164:09e0ddee659c stable
remove internal functions and options deprecated in version 4.0
* __luinc__.cc: Delete file.
* error.cc (F__usage__): Remove DEFUN.
* spparms.cc (Fspparms): Remove keyword "defaults" alias for "default".
* libinterp/corefcn/module.mk: Remove __luinc__.cc from build system.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Sun, 08 Apr 2018 17:26:39 -0700 |
parents | 6652d3823428 |
children | 00f796120a6d |
line wrap: on
line diff
--- a/libinterp/corefcn/spparms.cc Sun Apr 08 17:55:33 2018 -0700 +++ b/libinterp/corefcn/spparms.cc Sun Apr 08 17:26:39 2018 -0700 @@ -129,17 +129,8 @@ for (int i = 0; i < len; i++) str[i] = tolower (str[i]); - if (str == "defaults" || str == "default") - { - // FIXME: deprecated in 4.0, remove "defaults" for 4.4 release - static bool warned = false; - if (! warned && str == "defaults") - { - warning (R"(spparms: use "default" instead of "defaults")"); - warned = true; - } - octave_sparse_params::defaults (); - } + if (str == "default") + octave_sparse_params::defaults (); else if (str == "tight") octave_sparse_params::tight (); else