From dc112d2f487974d3871f530a5472aebfc09861fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Wed, 20 Sep 2017 22:46:25 +0300 Subject: Fix -Wimplicit-fallthrough warnings (no functional change) --- client/mysql.cc | 1 + sql/sql_table.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/client/mysql.cc b/client/mysql.cc index fb9ffbef669..f2e7b9150fa 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1895,6 +1895,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), usage(1); status.exit_status= 0; mysql_end(-1); + break; case 'I': case '?': usage(0); diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 8a68d86659a..afa27d790d4 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -1174,6 +1174,7 @@ static int execute_ddl_log_action(THD *thd, DDL_LOG_ENTRY *ddl_log_entry) action in the log entry by stepping up the phase. */ } + /* fall through */ case DDL_LOG_RENAME_ACTION: { error= TRUE; -- cgit v1.2.1