summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:16:29 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:16:29 -0300
commit75e22123972f3404cd384839695c9e7b0165565f (patch)
tree6e64b324e47ec067c848617b8ea8340fde01d8b2 /regex
parent7a344b61065080902ad9530d33ed0fa72a1522fa (diff)
downloadmariadb-git-75e22123972f3404cd384839695c9e7b0165565f.tar.gz
WL#5498: Remove dead and unused source code
Remove unused macros or macro which are always defined. include/my_global.h: Remove unused macros and move macros which aren't used globally.
Diffstat (limited to 'regex')
-rw-r--r--regex/regcomp.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/regex/regcomp.c b/regex/regcomp.c
index 812cdd115d1..b41a1ae6da9 100644
--- a/regex/regcomp.c
+++ b/regex/regcomp.c
@@ -285,18 +285,6 @@ register struct parse *p;
EMIT(ORPAREN, subno);
if(MUSTEAT(')', REG_EPAREN)) {}
break;
-#ifndef POSIX_MISTAKE
- case ')': /* happens only if no current unmatched ( */
- /*
- * You may ask, why the ifndef? Because I didn't notice
- * this until slightly too late for 1003.2, and none of the
- * other 1003.2 regular-expression reviewers noticed it at
- * all. So an unmatched ) is legal POSIX, at least until
- * we can get it fixed.
- */
- SETERROR(REG_EPAREN);
- break;
-#endif
case '^':
EMIT(OBOL, 0);
p->g->iflags |= USEBOL;