diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:16:29 -0300 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:16:29 -0300 |
commit | 75e22123972f3404cd384839695c9e7b0165565f (patch) | |
tree | 6e64b324e47ec067c848617b8ea8340fde01d8b2 /sql/sql_lex.h | |
parent | 7a344b61065080902ad9530d33ed0fa72a1522fa (diff) | |
download | mariadb-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 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index ed521e4791f..784a69cf9c1 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -589,11 +589,11 @@ public: st_select_lex* outer_select(); st_select_lex* first_select() { - return my_reinterpret_cast(st_select_lex*)(slave); + return reinterpret_cast<st_select_lex*>(slave); } st_select_lex_unit* next_unit() { - return my_reinterpret_cast(st_select_lex_unit*)(next); + return reinterpret_cast<st_select_lex_unit*>(next); } st_select_lex* return_after_parsing() { return return_to; } void exclude_level(); |