summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-09 16:37:52 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-09 16:37:52 -0300
commitf801ca68c65167a82f0dc2619540ef1c83e7826b (patch)
tree7ed9e193a759b34d6c9eec37102547004d96e86b /regex
parent52d5941bf14b1d9329819e4cdf861bf26fbecb45 (diff)
downloadmariadb-git-f801ca68c65167a82f0dc2619540ef1c83e7826b.tar.gz
Use UNINIT_VAR workaround instead of LINT_INIT.
Diffstat (limited to 'regex')
-rw-r--r--regex/regcomp.c6
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;