[project @ 2005-11-07 19:05:58 by jwe]
author |
jwe |
date |
Mon, 07 Nov 2005 19:06:03 +0000 |
parents |
29d855ffcfad |
children |
ad2e70544c77 |
files |
src/ChangeLog src/strfns.cc |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-07 John W. Eaton <jwe@octave.org>
+
+ * strfns.cc (Fstrcmp): Initialize retval to false.
+
2005-11-01 John W. Eaton <jwe@octave.org>
* Makefile.in (oct-gperf.h): Avoid extra temporary file.
--- 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;
+ octave_value retval = false;
if (args.length () == 2)
{