diff options
author | Staale Smedseng <staale.smedseng@sun.com> | 2009-08-28 18:21:54 +0200 |
---|---|---|
committer | Staale Smedseng <staale.smedseng@sun.com> | 2009-08-28 18:21:54 +0200 |
commit | 5be4c3822691f8bca4c8444ccc77b4b01bc996c1 (patch) | |
tree | a1ec5dfbd668a88bc0b6c98db397a421d2b37f21 /regex | |
parent | 169f7da04c4ffc43355d5a632a8013bc4caea39b (diff) | |
parent | 1ba25ae47caace207cda0be2b7994a1a845e6cce (diff) | |
download | mariadb-git-5be4c3822691f8bca4c8444ccc77b4b01bc996c1.tar.gz |
Merge from 5.0 for 43414
Diffstat (limited to 'regex')
-rw-r--r-- | regex/regcomp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regex/regcomp.c b/regex/regcomp.c index 398e132d97d..b203d4941e1 100644 --- a/regex/regcomp.c +++ b/regex/regcomp.c @@ -213,11 +213,11 @@ register struct parse *p; int stop; /* character this ERE should end at */ { register char c; - register sopno prevback; - register sopno prevfwd; + register sopno UNINIT_VAR(prevback); + register sopno UNINIT_VAR(prevfwd); register sopno conc; register int first = 1; /* is this the first alternative? */ - LINT_INIT(prevback); LINT_INIT(prevfwd); + for (;;) { /* do a bunch of concatenated expressions */ conc = HERE(); |