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

@ -55,7 +55,7 @@ void connect_maxscale(TestConnections& test)
void try_query(TestConnections& test, const char* zQuery)
{
if (test.try_query(test.maxscales->conn_rwsplit[0], zQuery) != 0)
if (test.try_query(test.maxscales->conn_rwsplit[0], "%s", zQuery) != 0)
{
string s("Could not execute query: ");
s += zQuery;