# HG changeset patch # User John W. Eaton # Date 1216660248 14400 # Node ID 645ced9fa83821ab0af651be0562d0266dfe4f17 # Parent 3ffc34caec6524f6a6b8338c0372917b16231c68 regex-match.cc (regex_match::init): initialize err to 0 diff -r 3ffc34caec65 -r 645ced9fa838 liboctave/ChangeLog --- a/liboctave/ChangeLog Mon Jul 21 11:47:30 2008 -0400 +++ b/liboctave/ChangeLog Mon Jul 21 13:10:48 2008 -0400 @@ -1,3 +1,7 @@ +2008-07-21 John W. Eaton + + * regex-match.cc (regex_match::init): Initialize err to 0. + 2008-07-19 John W. Eaton * oct-mutex.h (class octave_base_mutex): New class. diff -r 3ffc34caec65 -r 645ced9fa838 liboctave/regex-match.cc --- a/liboctave/regex-match.cc Mon Jul 21 11:47:30 2008 -0400 +++ b/liboctave/regex-match.cc Mon Jul 21 13:10:48 2008 -0400 @@ -87,7 +87,7 @@ { #ifdef HAVE_REGEX int npat = pat.length (); - int err; + int err = 0; int i; compiled = new regex_t [npat];