mysqld_safe_help - remove warning

/home/travis/build/MariaDB/server/extra/mysqld_safe_helper.c:62:21: warning: too many arguments in call to 'do_usage'
    do_usage(argv[0]);
    ~~~~~~~~        ^
1 warning generated.
This commit is contained in:
Daniel Black 2017-04-30 13:29:56 +10:00 committed by Sergey Vojtovich
parent 2e7ba70a94
commit dbe2c3c5f2

View file

@ -59,7 +59,7 @@ int main(int argc, char *argv[])
MY_INIT(argv[0]); MY_INIT(argv[0]);
if (argc < 3) if (argc < 3)
do_usage(argv[0]); do_usage();
user_info= my_check_user(argv[1], MYF(0)); user_info= my_check_user(argv[1], MYF(0));
if (user_info ? my_set_user(argv[1], user_info, MYF(MY_WME)) if (user_info ? my_set_user(argv[1], user_info, MYF(MY_WME))