diff --git a/extra/mysqld_safe_helper.c b/extra/mysqld_safe_helper.c index 09e507c6e1c..5c50b2300d4 100644 --- a/extra/mysqld_safe_helper.c +++ b/extra/mysqld_safe_helper.c @@ -14,7 +14,7 @@ void my_exit(int c) exit(c); } -void do_usage() +void do_usage(void) { printf("Usage:\n" " %s log \n" @@ -59,7 +59,7 @@ int main(int argc, char *argv[]) MY_INIT(argv[0]); if (argc < 3) - do_usage(argv[0]); + do_usage(); user_info= my_check_user(argv[1], MYF(0)); if (user_info ? my_set_user(argv[1], user_info, MYF(MY_WME)) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 161e1086bba..012d4689dde 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -3012,7 +3012,7 @@ static int mysql_create_routine(THD *thd, LEX *lex) return false; } #ifdef WITH_WSREP -error: +error: /* Used by WSREP_TO_ISOLATION_BEGIN */ #endif return true; }