From 3491f1356ec781648b077ba1be6b61f54882b6ea Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Fri, 13 Jun 2003 00:05:35 +0000 Subject: [PATCH] ICU-2729 Fix uninitialized variable in regex compiler. X-SVN-Rev: 12506 --- icu4c/source/i18n/regexcmp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/icu4c/source/i18n/regexcmp.cpp b/icu4c/source/i18n/regexcmp.cpp index 3c5106f312..8611f7023c 100644 --- a/icu4c/source/i18n/regexcmp.cpp +++ b/icu4c/source/i18n/regexcmp.cpp @@ -65,6 +65,7 @@ RegexCompile::RegexCompile(RegexPattern *rxp, UErrorCode &status) : fParenStack( fMatchOpenParen = -1; fMatchCloseParen = -1; + fStringOpStart = -1; if (U_SUCCESS(status) && U_FAILURE(rxp->fDeferredStatus)) { status = rxp->fDeferredStatus;