diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-09 16:37:52 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-09 16:37:52 -0300 |
commit | f801ca68c65167a82f0dc2619540ef1c83e7826b (patch) | |
tree | 7ed9e193a759b34d6c9eec37102547004d96e86b /regex | |
parent | 52d5941bf14b1d9329819e4cdf861bf26fbecb45 (diff) | |
download | mariadb-git-f801ca68c65167a82f0dc2619540ef1c83e7826b.tar.gz |
Use UNINIT_VAR workaround instead of LINT_INIT.
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 8280fbfd6c8..81c435ed552 100644 --- a/regex/regcomp.c +++ b/regex/regcomp.c @@ -1563,13 +1563,13 @@ struct parse *p; register struct re_guts *g; { register sop *scan; - sop *start; - register sop *newstart; + sop *UNINIT_VAR(start); + register sop *UNINIT_VAR(newstart); register sopno newlen; register sop s; register char *cp; register sopno i; - LINT_INIT(start); LINT_INIT(newstart); + /* avoid making error situations worse */ if (p->error != 0) return; |