Mercurial > hg > octave-nkf
diff src/strfns.cc @ 5531:ad2e70544c77
[project @ 2005-11-07 19:12:21 by jwe]
author | jwe |
---|---|
date | Mon, 07 Nov 2005 19:12:21 +0000 |
parents | 6f29a563b976 |
children | 86adc85cc471 |
line wrap: on
line diff
--- a/src/strfns.cc +++ b/src/strfns.cc @@ -154,7 +154,7 @@ just the opposite of the corresponding C library function.\n\ @end deftypefn") { - octave_value retval = false; + octave_value retval; if (args.length () == 2) { @@ -356,6 +356,8 @@ retval = output; } + else + retval = false; } else print_usage ("strcmp");