ICU-2729 Fix uninitialized variable in regex compiler.

X-SVN-Rev: 12506
This commit is contained in:
Andy Heninger 2003-06-13 00:05:35 +00:00
parent 6e9ade5670
commit 3491f1356e

View File

@ -65,6 +65,7 @@ RegexCompile::RegexCompile(RegexPattern *rxp, UErrorCode &status) : fParenStack(
fMatchOpenParen = -1; fMatchOpenParen = -1;
fMatchCloseParen = -1; fMatchCloseParen = -1;
fStringOpStart = -1;
if (U_SUCCESS(status) && U_FAILURE(rxp->fDeferredStatus)) { if (U_SUCCESS(status) && U_FAILURE(rxp->fDeferredStatus)) {
status = rxp->fDeferredStatus; status = rxp->fDeferredStatus;