Skip to content
Permalink
Browse files

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.
  • Loading branch information...
grooverdan authored and svoj committed Apr 30, 2017
1 parent 2e7ba70 commit dbe2c3c5f21fd479fbe0993b045c0c30493ca07a
Showing with 1 addition and 1 deletion.
  1. +1 −1 extra/mysqld_safe_helper.c
@@ -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))

0 comments on commit dbe2c3c

Please sign in to comment.
You can’t perform that action at this time.