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

@ -35,7 +35,7 @@ int main(int argc, char *argv[])
Test->set_timeout(60);
sprintf(sql, "INSERT INTO t1 (x1, fl) VALUES(%d, 2);", i);
Test->tprintf("Trying: %d\n", i);
execute_query(Test->maxscales->conn_rwsplit[0], sql);
execute_query(Test->maxscales->conn_rwsplit[0], "%s", sql);
}
Test->set_timeout(60);
Test->tprintf("executing SELECT\n");