aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2007-03-11 22:48:21 +0000
committernyamatongwe <devnull@localhost>2007-03-11 22:48:21 +0000
commitccf64b817b37e28610c11a28430f77b739c7c348 (patch)
tree67f811d2ec3714219ce54b69037ab5583787ae99
parenta4db6bc2b3d19844b1a2a4d39badd87998ab07a2 (diff)
downloadscintilla-mirror-ccf64b817b37e28610c11a28430f77b739c7c348.tar.gz
Ensure initialisation of nfa member to make BoundsChecker happy.
-rw-r--r--src/RESearch.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx
index 6dc5941bb..ce349e395 100644
--- a/src/RESearch.cxx
+++ b/src/RESearch.cxx
@@ -257,6 +257,8 @@ void RESearch::Init() {
pat[i] = 0;
for (int j = 0; j < BITBLK; j++)
bittab[j] = 0;
+ for (int k=0; k<MAXNFA; k++)
+ nfa[k] = 0;
}
void RESearch::Clear() {