diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-10-03 16:49:54 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-10-03 16:49:54 +0200 |
commit | d28b118d7b186391be8d091c00d9cf889c863f1a (patch) | |
tree | 2685f8246130576fed57b24be2804cd6db3b9328 /sql/sql_yacc.yy | |
parent | d5a15f04f4ab0738b0a5f993b208bcfaad522fd4 (diff) | |
download | mariadb-git-d28b118d7b186391be8d091c00d9cf889c863f1a.tar.gz |
Fix MSVC warning with bison 3.8.2
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 0f6773c899d..312ea682975 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -69,7 +69,8 @@ /* this is to get the bison compilation windows warnings out */ #ifdef _MSC_VER /* warning C4065: switch statement contains 'default' but no 'case' labels */ -#pragma warning (disable : 4065) +/* warning C4102: 'yyexhaustedlab': unreferenced label */ +#pragma warning (disable : 4065 4102) #endif #ifdef __GNUC__ #pragma GCC diagnostic ignored "-Wunused-label" /* yyexhaustedlab: */ |