mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 15:25:33 +02:00
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.
This commit is contained in:
parent
7a344b6106
commit
75e2212397
25 changed files with 52 additions and 382 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue