1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix a lot of compiler warnings found by -Wunused

This commit is contained in:
Monty
2018-04-26 16:33:05 +03:00
parent 0bdc15d86e
commit 2ccd6716fc
34 changed files with 60 additions and 68 deletions

View File

@ -173,7 +173,7 @@ struct LEX_TYPE
#define LEX_YYSTYPE void *
#else
#include "lex_symbol.h"
#if MYSQL_LEX
#ifdef MYSQL_LEX
#include "item_func.h" /* Cast_target used in sql_yacc.h */
#include "sql_get_diagnostics.h" /* Types used in sql_yacc.h */
#include "sp_pcontext.h"