Enable and fix -Wextra warnings

Fixed all warnings that were present with -Wextra.
This commit is contained in:
Markus Mäkelä
2018-07-02 16:02:32 +03:00
parent 34f61bc4f2
commit b98c0841b4
44 changed files with 126 additions and 105 deletions

View File

@ -49,7 +49,7 @@ int main(int argc, char *argv[])
sprintf(str, setup_binlog_wrong_passwrd, Test->repl->IP[0], Test->repl->port[0]);
Test->tprintf("binlog setup sql: %s\n", str);
Test->set_timeout(10);
execute_query(binlog, str);
execute_query(binlog, "%s", str);
Test->tprintf("Error: %s\n", mysql_error(binlog));
Test->tprintf("'start slave' to binlog\n");