ICU-2729 Fix uninitialized variable in regex compiler.
X-SVN-Rev: 12506
This commit is contained in:
parent
6e9ade5670
commit
3491f1356e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user