Mercurial > octave-nkf
diff scripts/testfun/__printf_assert__.m @ 19704:e5facc6eec13
Silence warning messages in %!test code.
* ind2rgb.m: Turn off "Octave:ind2rgb:invalid-idx-img" locally.
* condest.m: Turn off "Octave:nearly-singular-matrix" locally.
* logm.m: Turn off "Octave:logm:non-principal" locally.
* polyfit.m: Turn off "Octave:nearly-singular-matrix" locally.
* __printf_assert__.m: Initialize global _assert_printf to empty string to
avoid num-to-str warning later.
* __prog_output_assert__.m: Initialize global _assert_printf to empty string to
avoid num-to-str warning later.
.
* parser.tst: Turn off "Octave:num-to-str" locally.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 07 Feb 2015 20:55:39 -0800 |
parents | 702aa79dc482 |
children | 4197fc428c7d |
line wrap: on
line diff
--- a/scripts/testfun/__printf_assert__.m Sat Feb 07 11:32:47 2015 -0500 +++ b/scripts/testfun/__printf_assert__.m Sat Feb 07 20:55:39 2015 -0800 @@ -22,7 +22,7 @@ ## @end deftypefn function __printf_assert__ (varargin) - global _assert_printf; + global _assert_printf = ""; _assert_printf = cat (2, _assert_printf, sprintf (varargin{:})); endfunction